/*
Theme Name: Exa Institut Company Profile
Theme URI: http://exainstitut.com/
Description: Custom, high-performance Company Profile theme for Exa Institut. Designed for heavy machinery training and certification academy.
Version: 1.0.0
Author: Antigravity Team
Author URI: https://github.com/google-deepmind
Text Domain: exainstitut
*/

/* --------------------------------------------------
   [Table of Contents]
   1. Design Tokens & CSS Variables
   2. Base Reset & Typography
   3. General Utilities
   4. Header & Navigation
   5. Hero Section
   6. About Us (Helo, knowaboutus)
   7. Company Identity (Our Company)
   8. Why Us? (Sertifikasi & Fasilitas)
   9. Programs (Our Program)
   10. Legality (Our Legality)
   11. Documentation Gallery
   12. Partners
   13. Office Directory
   14. Footer & Contact
   15. Scroll Utilities & Animations
   16. Responsive Media Queries
----------------------------------------------------- */

/* 1. Design Tokens & CSS Variables */
:root {
  --primary: #f59e0b; /* Amber 600 */
  --primary-hover: #d97706; /* Amber 700 */
  --primary-light: #fef3c7; /* Amber 100 */
  --dark: #0f172a; /* Slate 900 */
  --dark-soft: #1e293b; /* Slate 800 */
  --dark-light: #334155; /* Slate 700 */
  --light: #f8fafc; /* Slate 50 */
  --light-soft: #f1f5f9; /* Slate 100 */
  --border: #e2e8f0; /* Slate 200 */
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-dark: rgba(15, 23, 42, 0.8);
}

/* 2. Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

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

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

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

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

/* 3. General Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.6);
}

.btn-secondary {
  background-color: var(--dark-soft);
  color: var(--text-light);
  border: 1px solid var(--dark-light);
}

.btn-secondary:hover {
  background-color: var(--dark);
  transform: translateY(-2px);
}

.grid {
  display: grid;
  gap: 30px;
}

.logo-wrapper img {
  max-height: 50px;
  width: auto;
  display: block;
}

.custom-logo-link {
  display: inline-block;
}

/* 4. Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-normal);
  padding: 20px 0;
}

.site-header.scrolled {
  background-color: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.site-header.scrolled .logo-brand {
  color: var(--dark);
}

.logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .nav-link {
  color: var(--dark-light);
}

.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.active {
  color: var(--primary-hover);
  background-color: var(--light-soft);
}

.nav-cta {
  margin-left: 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: var(--transition-normal);
  border-radius: 2px;
}

.site-header.scrolled .menu-toggle span {
  background-color: var(--dark);
}

/* 5. Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
  padding-top: 100px;
  background-color: var(--dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform var(--transition-slow);
}

.hero-section:hover .hero-bg {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.15) 0%, rgba(15, 23, 42, 0.8) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 10;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.kemenaker-badge {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kemenaker-badge svg {
  color: #10b981; /* Green check */
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-light);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  font-weight: 500;
  max-width: 600px;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.stat-item h3 {
  font-size: 2.25rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Page 1 Hexagon Visual Mockup */
.hero-graphics {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInScale 1s 0.4s forwards;
}

.hex-container {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  position: relative;
  background-color: var(--dark-soft);
  clip-path: polygon(50% 0%, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
  padding: 6px;
  box-shadow: var(--shadow-xl);
}

.hex-inner {
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  clip-path: polygon(50% 0%, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hex-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

.hex-overlay-text {
  position: relative;
  z-index: 5;
  text-align: center;
  color: var(--text-light);
  padding: 30px;
}

.hex-overlay-text h2 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: var(--primary);
  margin-bottom: 0px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hex-overlay-text p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

/* 6. About Us */
.about-section {
  background-color: var(--white);
}

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

.about-visual {
  position: relative;
}

.about-img-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
  position: relative;
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.2);
}

.experience-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background-color: var(--primary);
  color: var(--dark);
  padding: 24px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  border: 4px solid var(--white);
}

.experience-badge h4 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge p {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-soft);
}

.about-info-text {
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.about-info-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

.vision-mission-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vm-card {
  background-color: var(--light);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

.vm-card:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.vm-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.vm-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.vm-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}

.vm-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.vm-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-hover);
  font-weight: bold;
}

/* 7. Company Identity (Our Company) */
.identity-section {
  background-color: var(--light-soft);
  position: relative;
}

.identity-grid {
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.identity-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  height: 100%;
}

.identity-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.identity-table {
  width: 100%;
  border-collapse: collapse;
}

.identity-table tr {
  border-bottom: 1px solid var(--border);
}

.identity-table tr:last-child {
  border-bottom: none;
}

.identity-table td {
  padding: 14px 8px;
  font-size: 0.95rem;
}

.identity-table td.label {
  font-weight: 600;
  color: var(--text-muted);
  width: 40%;
}

.identity-table td.value {
  font-weight: 700;
  color: var(--dark);
}

.admin-phones {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: var(--light);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

.phone-item:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
}

.phone-info h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.phone-info p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.btn-wa-sm {
  width: 36px;
  height: 36px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(37,211,102,0.3);
}

.btn-wa-sm:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(37,211,102,0.5);
}

/* 8. Why Us? */
.why-us-section {
  background-color: var(--white);
}

.why-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: var(--light-soft);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--dark-soft);
  cursor: pointer;
  transition: var(--transition-normal);
}

.tab-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-hover);
}

.tab-btn.active {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.why-tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out forwards;
}

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

.tab-content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.tab-text h3 {
  font-size: 1.85rem;
  margin-bottom: 18px;
}

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

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.check-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.tab-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--light-soft);
  position: relative;
}

.certifications-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cert-mini-card {
  background: var(--light-soft);
  border: 1px dashed var(--border);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}

.cert-mini-card h4 {
  font-size: 0.85rem;
  margin-top: 8px;
}

/* 9. Programs */
.programs-section {
  background-color: var(--dark);
  color: var(--text-light);
}

.programs-section .section-title {
  color: var(--text-light);
}

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

.program-card {
  background-color: var(--dark-soft);
  border: 1px solid var(--dark-light);
  border-radius: 16px;
  padding: 36px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(245,158,11,0.15);
}

.program-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(245,158,11,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 24px;
  border: 1px solid rgba(245,158,11,0.25);
  transition: var(--transition-normal);
}

.program-card:hover .program-icon-wrapper {
  background-color: var(--primary);
  color: var(--dark);
  box-shadow: 0 0 15px rgba(245,158,11,0.5);
}

.program-card h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 700;
}

.program-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.program-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: auto;
}

.program-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(245,158,11,0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.program-learn-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.program-card:hover .program-learn-more {
  color: var(--primary);
}

/* 10. Legality */
.legality-section {
  background-color: var(--white);
}

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

.document-card {
  background: var(--light);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.doc-preview-container {
  height: 220px;
  background-color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.doc-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.05);
  transition: var(--transition-normal);
}

.document-card:hover .doc-preview-img {
  transform: scale(1.03);
}

.doc-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15,23,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.document-card:hover .doc-overlay {
  opacity: 1;
}

.doc-overlay-btn {
  background-color: var(--primary);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

.doc-meta {
  padding: 20px;
}

.doc-meta h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.doc-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Document Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15,23,42,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
  background-color: var(--white);
  padding: 10px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 2010;
  line-height: 1;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* 11. Documentation Gallery */
.gallery-section {
  background-color: var(--light-soft);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

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

.filter-btn.active {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  display: none;
  opacity: 0;
  transform: scale(0.85);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  background-color: var(--dark-soft);
  cursor: pointer;
  transition: var(--transition-slow);
}

.gallery-item.init-show {
  display: block;
  opacity: 1;
  transform: scale(1);
}

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

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

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0) 100%);
  padding: 24px 20px;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

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

.gallery-item-tag {
  display: inline-block;
  background-color: var(--primary);
  color: var(--dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gallery-item-title {
  font-size: 1rem;
  font-weight: 700;
}

/* Video Gallery Styles */
.gallery-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  z-index: 5;
  transition: var(--transition-normal);
}

.gallery-item:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--white);
}

.gallery-item.has-video::after {
  content: '\f04b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  padding-left: 2px; /* Center the play icon slightly */
}

.gallery-footer-action {
  text-align: center;
  margin-top: 50px;
}

.gallery-footer-action .btn {
  padding: 14px 32px;
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 60px;
  position: relative;
  z-index: 100;
  pointer-events: auto;
}

.navigation.pagination {
  margin-top: 0;
  pointer-events: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-numbers {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
  transition: var(--transition-fast);
  color: var(--dark) !important;
  cursor: pointer !important;
  position: relative;
  z-index: 101;
}

.page-numbers:hover, .page-numbers.current {
  background: var(--primary);
  color: var(--dark) !important;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* 12. Partners Section */
.partners-section {
  background-color: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.partners-carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partners-carousel-track {
  display: flex;
  width: max-content;
  animation: scrollTrack 30s linear infinite;
  gap: 60px;
  align-items: center;
}

.partners-carousel-track:hover {
  animation-play-state: paused;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-muted);
  white-space: nowrap;
  background-color: var(--light);
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.partner-logo-item:hover {
  color: var(--primary-hover);
  border-color: var(--primary);
  background-color: var(--primary-light);
  transform: scale(1.05);
}

@keyframes scrollTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 30px)); }
}

/* 13. Office Directory */
.office-section {
  background-color: var(--white);
}

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

.office-card {
  background-color: var(--light);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

.office-card:hover {
  transform: translateY(-5px);
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.office-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.office-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.office-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.office-card-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.office-card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.btn-office-map {
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-soft);
}

.btn-office-map:hover {
  color: var(--primary-hover);
}

/* 14. Footer & Contact */
.footer-contact-section {
  background-color: var(--dark);
  color: var(--text-light);
  padding: 100px 0 40px 0;
  position: relative;
  overflow: hidden;
}

.footer-contact-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, rgba(0,0,0,0) 70%);
  bottom: -100px;
  right: -100px;
  border-radius: 50%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-info h2 {
  color: var(--text-light);
  font-size: 2rem;
  margin-bottom: 12px;
}

.footer-info p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.footer-credentials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.credential-logo {
  height: 40px;
  filter: grayscale(1) brightness(2);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.credential-logo:hover {
  filter: none;
  opacity: 1;
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h3::after, .footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

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

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-text h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.contact-text a:hover {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

.social-btn:hover {
  background-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.design-by {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.design-by span {
  color: var(--primary);
  font-weight: 700;
}

/* Floating WhatsApp Widget */
.wa-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #25d366;
  color: var(--text-light);
  border-radius: 9999px;
  padding: 12px 24px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  transition: var(--transition-normal);
  border: 2px solid var(--white);
}

.wa-floating-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.6);
  color: var(--text-light);
}

/* 15. Scroll Utilities & Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* 16. Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-subtitle {
    margin: 0 auto 36px auto;
    border-left: none;
    border-top: 4px solid var(--primary);
    padding-left: 0;
    padding-top: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 500px;
    margin: 0 auto 30px auto;
  }

  .identity-grid {
    grid-template-columns: 1fr;
  }

  .tab-content-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tab-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .main-navigation {
    display: none; /* Mobile menu toggling logic will show this */
  }

  .menu-toggle {
    display: block;
  }

  /* Responsive Navigation Drawer Style */
  .site-header.mobile-open .main-navigation {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    padding: 20px;
    gap: 16px;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
  }

  .site-header.mobile-open .nav-link {
    color: var(--text-light);
    width: 100%;
    text-align: center;
  }

  .site-header.mobile-open .nav-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .site-header.mobile-open .nav-cta .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-copyright {
    flex-direction: column;
    text-align: center;
  }

  .lightbox-modal {
    padding: 15px;
  }

  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .experience-badge {
    padding: 16px 20px;
    bottom: -16px;
    right: -16px;
  }

  .experience-badge h4 {
    font-size: 2rem;
  }

  .wa-floating-btn span {
    display: none;
  }

  .wa-floating-btn {
    padding: 14px;
    border-radius: 50%;
  }
}
