/* ==========================================================================
   CV ARCINDO PERKASA - MODERN INDUSTRIAL DESIGN SYSTEM (styles.css)
   ========================================================================== */

/* 1. INITIAL IMPORT & SYSTEM VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary: #0F2C2F;          /* Dark industrial green */
  --primary-rgb: 15, 44, 47;
  --secondary: #1F6F78;        /* Emerald green */
  --secondary-rgb: 31, 111, 120;
  --accent: #25D366;           /* WhatsApp Green */
  --accent-rgb: 37, 211, 102;
  --accent-hover: #1ebd57;
  --bg-light: #F8FAFC;         /* Light slate bg */
  --bg-card: #FFFFFF;
  --text-dark: #1E293B;        /* Slate dark text */
  --text-muted: #64748B;       /* Muted slate text */
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  
  /* Fonts */
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 20px -3px rgba(15, 44, 47, 0.06), 0 4px 6px -2px rgba(15, 44, 47, 0.03);
  --shadow-premium: 0 20px 40px -15px rgba(15, 44, 47, 0.15);
  --shadow-accent: 0 10px 20px rgba(37, 211, 102, 0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. GLOBAL RESET & BASE RULES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: var(--radius-full);
  border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* 3. CORE DESIGN UTILITIES */
.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.text-center {
  text-align: center;
}

.section-desc {
  max-width: 650px;
  margin: 15px auto 0;
  color: var(--text-muted);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--white);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* Loader Animation */
.loader-wrapper {
  position: fixed;
  inset: 0;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  border: 4px solid transparent;
  border-radius: 50%;
  animation: loader-rotate 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  border-top-color: var(--accent);
  animation-delay: -0.45s;
}

.loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  border-right-color: var(--secondary);
  animation-delay: -0.3s;
}

.loader-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  border-bottom-color: var(--white);
  animation-delay: -0.15s;
}

.loader-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes loader-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   4. NAVIGATION BAR (STICKY GLASSMORPHISM)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.logo span {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 0;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}

/* Navbar Scroll State */
.navbar.navbar-scrolled {
  background-color: rgba(15, 44, 47, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.navbar.navbar-scrolled .logo span {
  color: var(--white);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('hero_workshop.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 44, 47, 0.75) 0%, rgba(15, 44, 47, 0.92) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.hero-content {
  max-width: 780px;
  margin-bottom: 60px;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(37, 211, 102, 0.15);
  color: var(--accent);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-family: var(--font-headings);
}

.hero-content p {
  font-size: clamp(16px, 2vw, 19px);
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-actions .btn {
  padding: 14px 32px;
  font-size: 16px;
}

.hero-actions .btn-primary {
  background-color: var(--accent);
  color: var(--primary);
}

.hero-actions .btn-primary:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-accent);
}

/* Hero Metrics Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: left;
  transition: var(--transition-normal);
}

.hero-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(37, 211, 102, 0.2);
}

.stat-icon-wrapper {
  width: 42px;
  height: 42px;
  background-color: rgba(31, 111, 120, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}

.stat-number-holder {
  font-family: var(--font-headings);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.stat-plus {
  color: var(--accent);
  margin-left: 2px;
}

.hero-stat-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Scroll Down Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  z-index: 2;
  animation: hero-bounce 2s infinite;
}

@keyframes hero-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ==========================================================================
   6. ABOUT SECTION
   ========================================================================== */
.about {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
}

.about-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.about-text h2 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-lead {
  font-size: 17px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
}

/* Tabs System */
.tabs-container {
  margin-top: 32px;
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.tabs-header {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--secondary);
  background-color: rgba(31, 111, 120, 0.05);
}

.tab-btn.active {
  color: var(--white);
  background-color: var(--secondary);
}

.tab-pane {
  display: none;
  animation: tab-fade-in 0.3s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane ul {
  display: grid;
  gap: 12px;
}

.tab-pane ul li {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-pane ul li i {
  color: var(--accent);
  font-size: 16px;
}

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

.value-item {
  display: flex;
  flex-direction: column;
}

.value-item strong {
  font-family: var(--font-headings);
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 4px;
}

.value-item span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About Image Wrap */
.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  overflow: visible;
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
}

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

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: badge-float 4s ease-in-out infinite;
}

.badge-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 211, 102, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 24px;
}

.badge-text h3 {
  font-size: 18px;
  color: var(--white);
}

.badge-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   7. SERVICES SECTION
   ========================================================================== */
.services {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.services-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(31, 111, 120, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(31, 111, 120, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 26px;
  margin-bottom: 28px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background-color: var(--secondary);
  color: var(--white);
  transform: rotateY(360deg);
}

.service-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-list {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.service-list li {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li i {
  color: var(--accent);
}

/* ==========================================================================
   8. WHY CHOOSE US SECTION
   ========================================================================== */
.why-us {
  padding: 100px 0;
  background-color: var(--white);
}

.why-us-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.why-card {
  display: flex;
  gap: 20px;
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  background-color: var(--white);
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: var(--shadow-lg);
}

.why-icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(37, 211, 102, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  font-size: 22px;
  transition: var(--transition-normal);
}

.why-card:hover .why-icon-wrapper {
  background-color: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   9. PRODUCT CATALOG SECTION (FILTERABLE GRID)
   ========================================================================== */
.products {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.products-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background-color: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  background-color: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(31, 111, 120, 0.15);
}

.product-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #E2E8F0;
}

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

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

.stock-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.stock-available {
  background-color: var(--accent);
  color: var(--primary);
}

.stock-rent {
  background-color: var(--secondary);
  color: var(--white);
}

.stock-limited {
  background-color: #FF5A5F;
  color: var(--white);
}

/* Brand badge — bottom-left of product image */
.brand-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background-color: var(--primary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.12);
}

.brand-badge.brand-intl {
  background-color: var(--secondary);
  color: var(--white);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 19px;
  color: var(--primary);
  margin-bottom: 12px;
}

.product-specs {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.product-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-detail {
  flex: 1;
  background-color: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

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

.btn-wa {
  flex: 1.2;
  background-color: var(--accent);
  color: var(--primary);
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-wa:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   10. TESTIMONIALS SECTION (SLIDER CAROUSEL)
   ========================================================================== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #081a1c 100%);
  color: var(--white);
  position: relative;
}

.testimonials-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials .section-header h2 {
  color: var(--white);
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
  max-width: 820px;
  margin: 40px auto 0;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  text-align: center;
}

.stars {
  color: #FFAE00;
  font-size: 18px;
  margin-bottom: 24px;
}

.review-text {
  font-size: 17px;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.95);
}

.reviewer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-details h4 {
  font-size: 16px;
  color: var(--white);
  text-align: left;
}

.reviewer-details span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  text-align: left;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--accent);
  transform: scale(1.25);
}

/* ==========================================================================
   11. GALLERY SECTION (MASONRY LAYOUT)
   ========================================================================== */
.gallery-sec {
  padding: 100px 0;
  background-color: var(--white);
}

.gallery-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.masonry-gallery {
  column-count: 3;
  column-gap: 20px;
  margin-top: 48px;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  background-color: #E2E8F0;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: var(--transition-slow);
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 44, 47, 0.9) 0%, rgba(15, 44, 47, 0.25) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition-normal);
  z-index: 2;
}

.masonry-overlay i {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white);
  font-size: 18px;
  background: rgba(255, 255, 255, 0.15);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.masonry-overlay h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.masonry-overlay p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  transform: translateY(10px);
  transition: var(--transition-normal) 0.05s;
}

.masonry-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.masonry-item:hover img {
  transform: scale(1.05);
}

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

.masonry-item:hover .masonry-overlay h3,
.masonry-item:hover .masonry-overlay p {
  transform: translateY(0);
}

/* ==========================================================================
   12. CONTACT SECTION & MAPS
   ========================================================================== */
.contact {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.contact-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: stretch;
}

.contact-info-card {
  background-color: var(--primary);
  color: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(31, 111, 120, 0.1);
  pointer-events: none;
}

.contact-info-card h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.info-lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.info-details {
  display: grid;
  gap: 28px;
}

.info-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.info-text p,
.info-text a {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}

.info-text a:hover {
  color: var(--accent);
}

.contact-form-card {
  background-color: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-form-card h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 32px;
}

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

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(31, 111, 120, 0.15);
}

.btn-submit {
  width: 100%;
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-submit:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

/* Map frame wrap */
.maps-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
}

.maps-wrapper iframe {
  display: block;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 30px;
  border-top: 4px solid var(--secondary);
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 44px;
  object-fit: contain;
}

.footer-logo span {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 420px;
}

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

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition-normal);
}

.footer-socials a:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-3px) rotate(360deg);
  box-shadow: var(--shadow-accent);
}

.footer-col h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  font-size: 12px;
  transition: var(--transition-fast);
}

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

.footer-contact-info {
  display: grid;
  gap: 16px;
}

.footer-contact-info li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info li i {
  color: var(--accent);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   14. DETAIL SPECIFICATION MODAL
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 44, 47, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 20px;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content-wrapper {
  background-color: var(--white);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.modal.show .modal-content-wrapper {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-dark);
  transform: rotate(90deg);
}

.modal-body {
  padding: 40px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-title-wrap {
  margin-bottom: 24px;
}

.modal-title-wrap h2 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 6px;
}

.modal-title-wrap span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

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

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

.spec-table td {
  padding: 12px 0;
  font-size: 14px;
}

.spec-table td:first-child {
  font-weight: 700;
  color: var(--primary);
  width: 40%;
}

.spec-table td:last-child {
  color: var(--text-muted);
}

.modal-btn-wa {
  width: 100%;
}

/* ==========================================================================
   15. GALLERY LIGHTBOX MODAL
   ========================================================================== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 44, 47, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 40px;
}

.gallery-lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 36px;
  color: var(--white);
  font-size: 44px;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.lightbox-img {
  max-width: 90%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  transform: scale(0.95);
  transition: var(--transition-normal);
}

.gallery-lightbox.show .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  margin-top: 20px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  max-width: 600px;
}

/* ==========================================================================
   16. FLOATING INTERACTIVES (WHATSAPP & BACK TO TOP)
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  z-index: 998;
}

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

.back-to-top:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.whatsapp-floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-accent);
  z-index: 998;
  animation: wa-pulsing 2s infinite;
  transition: var(--transition-normal);
}

.whatsapp-floating-widget:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
}

.wa-tooltip {
  position: absolute;
  right: 74px;
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-floating-widget:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulsing {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   17. SCROLL REVEAL CLASS TRIGGERS
   ========================================================================== */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Hero delays */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero.hero-loaded .fade-up {
  opacity: 1;
  transform: translateY(0);
}

.hero.hero-loaded .fade-up:nth-child(1) { transition-delay: 0.1s; }
.hero.hero-loaded .fade-up:nth-child(2) { transition-delay: 0.25s; }
.hero.hero-loaded .fade-up:nth-child(3) { transition-delay: 0.4s; }
.hero.hero-loaded .fade-up:nth-child(4) { transition-delay: 0.55s; }
.hero.hero-loaded .hero-stats { transition-delay: 0.7s; }

/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet and smaller (max-width: 992px) */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--primary);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    transition: var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1000;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image-wrapper {
    order: -1;
  }
  
  .about-main-img {
    height: 380px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-about {
    grid-column: span 2;
  }
  
  .masonry-gallery {
    column-count: 2;
  }
}

/* Mobile and smaller (max-width: 768px) */
@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-about {
    grid-column: span 1;
  }
  
  .contact-info-card,
  .contact-form-card {
    padding: 30px 24px;
  }
  
  .modal-body {
    padding: 30px 20px;
  }
}

/* Small mobile (max-width: 500px) { */
@media (max-width: 500px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .masonry-gallery {
    column-count: 1;
  }
}

/* Accessibility Reduced Motion overrides */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
