/* Base Styles */
:root {
  --primary-color: #1a4a3a;
  --secondary-color: #102a23;
  --accent-color: #b8860b;
  --light-bg: #f8f9fa;
  --dark-text: #212529;
  --transition-speed: 0.3s;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

@font-face {
  font-family: "Futura-Book";
  src:
    url("/src/fonts/Futura-Book.woff2") format("woff2"),
    url("/src/fonts/Futura-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lucida Fax";
  src:
    url("/src/fonts/LucidaFax.woff2") format("woff2"),
    url("/src/fonts/LucidaFax.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
  line-height: 1.6;
  color: var(--dark-text);
}

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

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 1rem;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 3.5rem 1rem;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Navbar Styles */
.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark-text);
  text-decoration: none;
}

.logo i {
  color: var(--primary-color);
}

.teguhFont {
  font-family: "Lucida Fax", serif;
}

@media (max-width: 992px) {
  .teguhFont {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .teguhFont {
    display: none; /* Hide full text on very small screens to save space */
  }
}

.advocatesFont {
  font-family: "Futura-Book", sans-serif;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 2px;
  background: var(--dark-text);
  transition: var(--transition-speed);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Slider Styles */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(16, 42, 35, 0.78) 0%,
    rgba(16, 42, 35, 0.5) 42%,
    rgba(16, 42, 35, 0.28) 100%
  );
}

.hero-slide-courtroom img {
  object-position: center 48%;
}

.hero-slide-team img {
  object-position: center 40%;
}

.hero-slide-litigation img {
  object-position: center 55%;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: white;
  padding: 0 1rem;
  width: min(90%, 1100px);
  max-width: 800px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-kicker {
  display: inline-block;
  color: #f4d28b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s;
}

.slider-control:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.next {
  right: 0;
  border-radius: 5px 0 0 5px;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .navbar {
    padding: 0rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    width: min(300px, 80%);
    height: 100vh;
    text-align: center;
    padding: 3rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    right: 0;
  }

  .slide-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .slide-content {
    text-align: center;
    width: 95%;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }

  .slide::after {
    background: rgba(16, 42, 35, 0.65);
  }

  .slider-control {
    padding: 0.75rem;
    font-size: 1.1rem;
    display: none;
  }

  h2 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 480px) {
  .slide-content {
    width: 95%;
  }

  .slide-content h1 {
    font-size: 1.65rem;
    letter-spacing: -0.5px;
  }

  .slide-content p {
    font-size: 0.85rem;
    opacity: 0.9;
  }

  .hero-kicker {
    font-size: 0.65rem;
  }

  .cta-button {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* CTA Button Styles */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(26, 74, 58, 0.24);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.6s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(26, 74, 58, 0.32);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  transform: translateY(1px);
  box-shadow: 0 5px 15px rgba(26, 74, 58, 0.28);
}

.cta-button i {
  font-size: 1.2em;
  transition: transform 0.3s;
}

.cta-button:hover i {
  transform: translateX(3px);
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.cta-button.floating {
  animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* About Section Styles */
.about {
  background: #f8f9fa;
}

.section-title .subtitle {
  color: #7f8c8d;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-text);
  margin-bottom: 2rem;
}

.highlight-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.highlight-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.highlight-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.highlight-item h4 {
  color: var(--dark-text);
  margin-bottom: 0.3rem;
}

.highlight-item p {
  color: #7f8c8d;
  font-size: 0.9rem;
}

.vision-mission {
  display: grid;
  gap: 2rem;
}

.vm-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vm-header i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.vm-card h3 {
  color: var(--dark-text);
  font-size: 1.3rem;
}

.vm-card ul {
  padding-left: 1.5rem;
  color: #7f8c8d;
  line-height: 1.8;
}

.vm-card li {
  margin-bottom: 0.8rem;
}

.about-image {
  position: relative;
}

.image-frame {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 680px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-color);
  color: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  width: 130px;
  box-shadow: 0 10px 20px rgba(26, 74, 58, 0.24);
}

.experience-badge span {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.experience-badge p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .highlight-box {
    grid-template-columns: 1fr;
  }

  .vm-card {
    padding: 1.5rem;
  }

  .experience-badge {
    width: 100px;
    padding: 0.8rem;
    right: 5px;
    bottom: 5px;
  }

  .experience-badge span {
    font-size: 1.8rem;
  }

  .about-container {
    padding: 0 1rem;
  }
}

/* Services Section Styles */
.services {
  background: #f8f9fa;
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(184, 134, 11, 0.12));
  transform: rotate(45deg);
  transition: 0.5s;
}

.service-card:hover::before {
  top: -20%;
  left: -20%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  color: #fff;
  font-size: 1.8rem;
}

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

.service-card p {
  color: #7f8c8d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.service-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.service-btn:hover {
  color: var(--dark-text);
}

.service-btn:hover i {
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}

/* Process Section Styles */
.process-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.process-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  width: 300px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.legal-process-timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.legal-process-step {
  position: relative;
  min-height: 260px;
  background: #fff;
  border: 1px solid rgba(26, 74, 58, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(16, 42, 35, 0.08);
  overflow: hidden;
}

.legal-process-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.legal-process-step span {
  color: rgba(26, 74, 58, 0.12);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.legal-process-step i {
  display: block;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 1.2rem 0 1rem;
}

.legal-process-step h3 {
  color: var(--dark-text);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.legal-process-step p {
  color: #667;
  font-size: 0.9rem;
  line-height: 1.7;
}

.process-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.process-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--primary-color);
  width: 80%;
  top: 15%;
  left: 10%;
  z-index: 0;
}

.step-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}

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

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  width: 35px;
  height: 35px;
  background: var(--dark-text);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.step-card h3 {
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.step-content {
  color: #7f8c8d;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-content ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.step-content li {
  margin-bottom: 0.3rem;
}

.step-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-size: 0.8rem;
  margin-top: 1rem;
}

.process-notes {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  display: grid;
  gap: 1rem;
}

.note-box {
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.note-box i {
  font-size: 1.5rem;
}

.note-box.important {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.note-box.info {
  background: #d1ecf1;
  color: #0c5460;
  border-left: 4px solid #17a2b8;
}

/* Responsive Design */
@media (max-width: 992px) {
  .legal-process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps::before {
    display: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .step-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .legal-process-timeline {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .legal-process-step {
    min-height: auto;
  }

  .step-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .note-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  margin-top: 5px;
  padding: 2rem;
  width: 80%;
  height: 100%;
  max-width: 800px;
  border-radius: 15px;
  position: relative;
  animation: modalOpen 0.3s;
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
}

@keyframes modalOpen {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .process-options {
    flex-direction: column;
    align-items: center;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 90vh;
  }

  .process-steps {
    padding: 0 1rem;
  }
}

/* Team Structure Styles */
.team-structure {
  background: #f8f9fa;
}

.organization-chart {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.team-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.team-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  color: white;
  text-align: center;
  height: 4px;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card.expanded {
  transform: scale(1.05);
  z-index: 100;
}

.profile-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.profile-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.profile-avatar {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(26, 74, 58, 0.18);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.profile-meta h3 {
  color: var(--dark-text);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.position {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.expertise {
  color: #7f8c8d;
  font-size: 0.85rem;
}

.profile-bio {
  border-top: 1px solid var(--light-bg);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.profile-contact {
  margin-top: 1rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-text);
}

/* Hierarchy Styling */
.director {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
}

.director .profile-header {
  flex-direction: column;
  text-align: center;
}

.director img {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
}

.senior {
  border-left: 3px solid var(--primary-color);
}

/* Documentation Section */
.documentation {
  background: linear-gradient(180deg, #fff 0%, #f4f7f5 100%);
}

.documentation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.documentation-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: -1rem 0 2rem;
}

.doc-filter {
  border: 1px solid rgba(26, 74, 58, 0.18);
  background: #fff;
  color: var(--secondary-color);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.doc-filter:hover,
.doc-filter.active {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(26, 74, 58, 0.18);
}

.documentation-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 0;
  overflow: hidden;
  border-radius: 15px;
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 18px 45px rgba(16, 42, 35, 0.16);
  margin-bottom: 2rem;
}

.documentation-feature-image {
  min-height: 420px;
}

.documentation-feature-image img,
.documentation-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.documentation-feature-image img {
  object-position: center 56%;
}

.documentation-feature-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.documentation-kicker {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.documentation-feature-content h3 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.documentation-feature-content p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.documentation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 1rem;
  transition: max-height 0.5s ease-in-out;
}

.documentation-actions {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

#loadMoreBtn {
  min-width: 220px;
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

#loadMoreBtn:hover {
  background: var(--primary-color);
  color: #fff;
}

.documentation-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #102a23;
  box-shadow: 0 12px 28px rgba(16, 42, 35, 0.12);
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.documentation-card.is-hidden,
.documentation-card.is-hidden-paged {
  display: none;
}

.documentation-card.is-visible {
  display: block !important;
}

.documentation-card:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 4px;
}

.documentation-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 42, 35, 0.05) 35%,
    rgba(16, 42, 35, 0.86) 100%
  );
}

.documentation-card img {
  transition: transform 0.45s ease;
}

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

.documentation-card:hover {
  box-shadow: 0 18px 38px rgba(16, 42, 35, 0.2);
}

.documentation-card-tall {
  grid-row: span 2;
}

.documentation-card-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
  z-index: 1;
}

.documentation-card-caption span {
  display: inline-block;
  color: #f4d28b;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.3rem;
}

.documentation-card-caption h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.doc-focus-top {
  object-position: center 28%;
}

.doc-focus-center {
  object-position: center center;
}

.doc-focus-bottom {
  object-position: center 72%;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 18, 15, 0.9);
  padding: 2rem;
}

.gallery-lightbox.is-open {
  display: flex;
}

.lightbox-content {
  width: min(100%, 980px);
  margin: 0;
  color: #fff;
  text-align: center;
}

.lightbox-content img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  background: #0b1714;
}

.lightbox-content figcaption {
  margin-top: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .organization-chart {
    grid-template-columns: 1fr;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .director img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 992px) {
  .documentation-feature {
    grid-template-columns: 1fr;
  }

  .documentation-feature-image {
    min-height: 340px;
  }

  .documentation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .documentation-card:nth-child(n + 9) {
    display: none;
  }
}

@media (max-width: 576px) {
  .documentation-container {
    padding: 0 1rem;
  }

  .documentation-feature-content {
    padding: 1.5rem;
  }

  .documentation-feature-content h3 {
    font-size: 1.55rem;
  }

  .documentation-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .documentation-card-tall {
    grid-row: span 1;
  }

  .gallery-lightbox {
    padding: 1rem;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1rem;
  }

  .lightbox-prev {
    left: calc(50% - 62px);
  }

  .lightbox-next {
    right: calc(50% - 62px);
  }
}

/* Testimonials */
.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Section Styles */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem;
}

.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.3rem;
}

.info-item h4 {
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-item p {
  color: #7f8c8d;
  font-size: 0.9rem;
  line-height: 1.6;
}

.social-media {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-bg);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.facebook {
  background: #3b5998;
}

.twitter {
  background: #1da1f2;
}

.linkedin {
  background: #0077b5;
}

.instagram {
  background: #e1306c;
}

.whatsapp {
  background: #25d366;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-map {
  grid-column: 1 / -1;
  margin-top: 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .contact-info {
    padding: 1rem;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .info-item i {
    margin-top: 0;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Footer */
.footer {
  background: var(--dark-text);
  color: #fff;
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 1fr) minmax(
      240px,
      1.2fr
    );
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.footer-logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.footer-logo > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 100%;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
}

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

.footer-contact h4 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.footer-contact p {
  color: #ddd;
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 0.1rem;
}

.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copyright p {
  color: #bbb;
  font-size: 0.8rem;
  margin: 0;
}

.logo-text {
  color: #ddd;
  font-size: medium;
}

.logo-tagline {
  color: #25d366;
  font-size: medium;
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 1s ease-out;
}

/* Tambahan Animasi */

.animateContact.show {
  opacity: 1;
  transform: translateY(0);
}

.error {
  border-color: var(--primary-color) !important;
  animation: shake 0.4s;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* Back to Top Button Styles */
.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color)
  );
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(26, 74, 58, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.floating-whatsapp {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.32);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-whatsapp i {
  font-size: 1.2rem;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.42);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(26, 74, 58, 0.32);
}

.back-to-top:active {
  transform: translateY(1px) scale(0.95);
}

.back-to-top i {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.back-to-top:hover i {
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 84px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .floating-whatsapp {
    right: 20px;
    bottom: 20px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .footer {
    padding: 3rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-contact p {
    font-size: 0.8rem;
  }
}
