/* ============================================================
   KDM PREMIUM — Design System v3.0
   Light White & Blue Premium Event Rental Website
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Core Brand Colors */
  --blue-500:     #3B82F6;
  --blue-600:     #2563EB;
  --blue-700:     #1D4ED8;
  --blue-glow:    rgba(37, 99, 235, 0.12);

  /* Light Theme Text & Headings */
  --text-dark:    #0F172A; /* slate-900 */
  --text-heading: #1E293B; /* slate-800 */
  --text-body:    #475569; /* slate-600 */
  --text-light:   #64748B; /* slate-500 */
  --text-muted:   #94A3B8; /* slate-400 */

  /* Alternating Background Colors */
  --bg-white:       #FFFFFF;
  --bg-blue-light:  #F4F8FF; /* Beautiful clean soft blue */
  --border-light:   #E2E8F0; /* slate-200 */
  --border-blue:    #DBEAFE; /* blue-100 */
  --white:          #FFFFFF;

  /* Semantic Colors */
  --gold:         #F59E0B;
  --green-wa:     #22C55E;
  --green-wa-dk:  #16A34A;

  /* Card/Glass Design */
  --card-bg-white:  #FFFFFF;
  --card-bg-blue:   #EBF2FF;
  --shadow-sm:    0 2px 8px rgba(37, 99, 235, 0.04);
  --shadow-md:    0 10px 30px rgba(37, 99, 235, 0.06);
  --shadow-lg:    0 20px 40px rgba(37, 99, 235, 0.1);
  --shadow-card:  0 8px 24px rgba(37, 99, 235, 0.05);

  /* Typography */
  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-sans:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --transition:   all 0.35s var(--ease-out);

  /* Shape */
  --radius-xl:    24px;
  --radius-lg:    16px;
  --radius-md:    12px;
  --radius-sm:    8px;
  --radius-pill:  999px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

/* ── Custom Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-white); }
::-webkit-scrollbar-thumb { background: var(--blue-600); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-500); }

/* ── Ambient Background Pattern ─────────────────────────────── */
.grid-pattern {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.glow-sphere {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.glow-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: floatOrb 12s ease-in-out infinite alternate;
}
.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  bottom: 0;
  right: -150px;
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}

/* ── Alternating Background Styles ──────────────────────────── */
.section-white {
  background-color: var(--bg-white);
}

.section-blue {
  background-color: var(--bg-blue-light);
  border-top: 1px solid var(--border-blue);
  border-bottom: 1px solid var(--border-blue);
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

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

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.serif {
  font-family: var(--font-serif);
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-700) 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Pill / Badge ────────────────────────────────────────────── */
.sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-700);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--border-blue);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.sub-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 6px var(--blue-500);
  animation: pulse 2s infinite;
}

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

/* ── Section Header ─────────────────────────────────────────── */
.section-header-modern {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header-modern h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header-modern p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), #4f46e5);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,99,235,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,99,235,0.4);
}

.btn-outline-dark {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-outline-dark:hover {
  background: var(--bg-blue-light);
  border-color: var(--blue-600);
  color: var(--blue-700);
  transform: translateY(-2px);
}

.btn-chat {
  padding: 9px 20px;
  font-size: 0.82rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green-wa-dk);
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: var(--transition);
}
.btn-chat:hover {
  background: var(--green-wa);
  color: var(--white);
  border-color: var(--green-wa);
  transform: translateY(-1px);
}

/* ── Floating Glassmorphic Navbar ───────────────────────────── */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  padding: 12px 28px;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-icon-spark {
  font-size: 1.1rem;
  color: var(--blue-600);
}

.logo .dot { color: var(--blue-600); }

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-body);
  font-size: 0.875rem;
  transition: var(--transition);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.nav-link:hover {
  color: var(--blue-700);
  background: rgba(37, 99, 235, 0.05);
}

.header-action { display: flex; }

.menu-toggle {
  display: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-dark);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

/* ── Hero Section (Blue Background) ─────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  background-color: var(--bg-blue-light);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,99,235,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

.hero-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--border-blue);
  color: var(--blue-700);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: fadeSlideDown 0.8s var(--ease-out) both;
}

.hero-promo-badge::before {
  content: '✦';
  font-size: 0.6rem;
}

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

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text-dark);
  animation: fadeSlideUp 0.9s 0.1s var(--ease-out) both;
}

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

.hero-text-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.75;
  animation: fadeSlideUp 0.9s 0.2s var(--ease-out) both;
}

.hero-action-group {
  display: flex;
  gap: 14px;
  margin-bottom: 52px;
  animation: fadeSlideUp 0.9s 0.3s var(--ease-out) both;
}

.hero-stats-row {
  display: flex;
  animation: fadeSlideUp 0.9s 0.4s var(--ease-out) both;
  background: var(--bg-white);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.stat-card {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border-blue);
  transition: var(--transition);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--bg-blue-light); }

.stat-card h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.stat-card p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Full-Width Hero Carousel Banner ─────────────────────────── */
.hero-carousel-section {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 90px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b1120;
}

.hero-carousel-section::before {
  display: none !important;
}

.hero-carousel-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s ease;
  pointer-events: none;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 7.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-carousel-slide.active .hero-slide-bg {
  transform: scale(1.08);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, rgba(11, 17, 32, 0.90) 0%, rgba(11, 17, 32, 0.78) 45%, rgba(11, 17, 32, 0.45) 80%, rgba(11, 17, 32, 0.3) 100%),
    linear-gradient(180deg, rgba(11, 17, 32, 0.45) 0%, transparent 40%, rgba(11, 17, 32, 0.75) 100%);
  z-index: 1;
}

.hero-carousel-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
}

.hero-carousel-text {
  max-width: 680px;
}

.hero-carousel-badge {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-carousel-title {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-carousel-desc {
  color: rgba(241, 245, 249, 0.92) !important;
  font-size: 1.08rem !important;
  line-height: 1.8 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  max-width: 620px;
}

.btn-glass-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-glass-hero:hover {
  background: #ffffff;
  color: var(--blue-700) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.35);
}

.hero-carousel-stats {
  background: rgba(15, 23, 42, 0.62) !important;
  backdrop-filter: blur(20px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
}

.hero-carousel-stats .stat-card {
  border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.hero-carousel-stats .stat-card h4 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-carousel-stats .stat-card p {
  color: rgba(203, 213, 225, 0.85) !important;
}

.hero-carousel-stats .stat-card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Featured Event Caption Badge */
.hero-slide-caption-badge {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  color: #ffffff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 8px;
  white-space: nowrap;
  animation: fadeSlideUp 0.9s 0.3s var(--ease-out) both;
}

.hero-slide-caption-badge .slide-indicator-label {
  color: #60a5fa;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-slide-caption-badge .slide-name {
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
}

/* Carousel Navigation Arrows */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-carousel-arrow.prev { left: 28px; }
.hero-carousel-arrow.next { right: 28px; }

.hero-carousel-arrow:hover {
  background: #ffffff;
  color: var(--blue-700);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
}

/* Carousel Pagination Dots */
.hero-carousel-pagination {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 25;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.hero-dot.active {
  width: 36px;
  background: #3b82f6;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.85);
}

/* ── Clients / Logos (White Background) ─────────────────────── */
.clients-section {
  padding: 56px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
  background-color: var(--bg-white);
}

.clients-title {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 36px;
}

.clients-logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition);
  cursor: pointer;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}

.client-logo-item i { font-size: 1.2rem; }

.client-logo-item:hover {
  color: var(--blue-600);
  background: var(--bg-blue-light);
  border-color: var(--border-blue);
  transform: translateY(-2px);
}

/* ── Services (White Background with Soft Blue Cards) ────────── */
.services-modern-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.modern-service-card {
  background: var(--bg-blue-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-blue);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.modern-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

.card-icon-modern {
  width: 52px;
  height: 52px;
  background: var(--bg-white);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue-600);
  margin-bottom: 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.modern-service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.modern-service-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 28px;
  flex-grow: 1;
}

.card-arrow-btn {
  align-self: flex-start;
  width: 38px;
  height: 38px;
  background: var(--bg-white);
  border: 1px solid var(--border-blue);
  color: var(--blue-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.modern-service-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-600);
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
}

.modern-service-card:hover .card-icon-modern {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37,99,235,0.25);
  border-color: var(--blue-600);
}

.modern-service-card:hover .card-arrow-btn {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  transform: rotate(45deg);
}

/* ── Product Catalog (Blue Background with White Cards) ──────── */
.product-catalog {
  position: relative;
  overflow: hidden;
}

.category-tabs-capsule {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border-blue);
  padding: 6px;
  border-radius: var(--radius-pill);
  max-width: max-content;
  margin: 0 auto 48px;
  box-shadow: var(--shadow-sm);
}

.tab-pill-btn,
.portfolio-tab-pill {
  background: transparent;
  border: none;
  padding: 9px 22px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  font-family: var(--font-sans);
}

.tab-pill-btn.active,
.tab-pill-btn:hover,
.portfolio-tab-pill.active,
.portfolio-tab-pill:hover {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,0.2);
}

.portfolio-tabs-capsule {
  background: var(--bg-blue-light);
  border: 1px solid var(--border-blue);
  margin: 0 auto 40px;
}

/* Product Cards */
.product-minimal-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.catalog-item-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-blue);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.catalog-thumb-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-blue);
}

.catalog-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.catalog-item-card:hover .catalog-thumb-box img { transform: scale(1.06); }

.catalog-item-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.catalog-item-tag.hot {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.catalog-item-tag.premium {
  background: var(--gold);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.catalog-detail-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.star-rating {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-rating i { color: var(--gold); }

.rating-count {
  font-size: 0.78rem;
  color: var(--text-light);
}

.catalog-detail-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.catalog-detail-box p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.catalog-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-blue);
  padding-top: 16px;
}

.price-container span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
  display: block;
}

.price-container h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-700);
  margin-top: 2px;
  white-space: nowrap;
}

.btn-chat-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green-wa-dk);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.78rem;
  transition: var(--transition);
}

.btn-chat-action:hover {
  background: var(--green-wa);
  color: var(--white);
  border-color: var(--green-wa);
  transform: translateY(-1px);
}

.catalog-item-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-600);
  box-shadow: var(--shadow-lg);
}

/* ── Portfolio (White Background with Modern Clean Grid) ───── */
.gallery-modern-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .gallery-modern-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 568px) {
  .gallery-modern-masonry {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.gallery-modern-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-blue);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-modern-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-500);
}

.gallery-modern-item img {
  width: 100%;
  height: 240px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  border-bottom: 1px solid var(--border-blue);
  transition: transform 0.6s var(--ease-out);
}

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

.gallery-modern-label {
  padding: 18px 20px;
  background: var(--bg-white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.gallery-modern-label span {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.gallery-modern-label p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gallery-modern-label p::before {
  content: '\f3c5';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--blue-500);
}

/* ── Video Showcase (Blue Background) ───────────────────────── */
.video-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-glass-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-blue);
  padding: 8px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.video-glass-container:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}

.video-wrapper-inner {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 aspect ratio for YouTube Shorts */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--text-dark);
}

.video-wrapper-inner iframe,
.video-wrapper-inner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.video-card-title {
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-top: 14px;
  margin-bottom: 6px;
  transition: var(--transition);
}

.video-glass-container:hover .video-card-title {
  color: var(--blue-600);
}

.video-play-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop horizontal letterboxing for perfect vertical framing */
  opacity: 0.9;
  transition: var(--transition);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, var(--blue-600), #4f46e5);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 0 12px rgba(37,99,235,0.15), 0 8px 32px rgba(37,99,235,0.3);
  transition: var(--transition);
  z-index: 10;
  animation: ringPulse 2.5s ease-in-out infinite;
}

.video-play-btn i { margin-left: 4px; }

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(37,99,235,0.15), 0 8px 32px rgba(37,99,235,0.3); }
  50%       { box-shadow: 0 0 0 20px rgba(37,99,235,0.05), 0 8px 32px rgba(37,99,235,0.3); }
}

.video-play-link:hover .video-thumbnail { opacity: 0.75; transform: scale(1.03); }
.video-play-link:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 16px rgba(37,99,235,0.2), 0 16px 48px rgba(37,99,235,0.5);
}

/* ── About Us (White Background) ────────────────────────────── */
.about-grid-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-visuals { position: relative; }

.big-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.big-photo-frame img {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 1px);
  display: block;
}

.experience-floating-tag {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--blue-600), #4f46e5);
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(37,99,235,0.3);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-floating-tag h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: white;
}

.experience-floating-tag p {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-text-content .intro-paragraph {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.8;
}

.value-bullets-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bullet-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-blue-light);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.bullet-item:hover {
  border-color: var(--blue-600);
  background: var(--bg-white);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.bullet-icon-box {
  width: 40px;
  height: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue-600);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.bullet-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.bullet-item p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ── Testimonials (Blue Background with White Cards) ────────── */
.testimonials-modern-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.modern-testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.modern-testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  opacity: 0;
  transition: var(--transition);
}

.modern-testimonial-card:hover::before { opacity: 1; }

.card-quote-mark {
  font-size: 4rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--blue-200);
  margin-bottom: 12px;
  display: block;
}

.modern-testimonial-card > p {
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 24px;
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testi-stars i { color: var(--gold); font-size: 0.8rem; }

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-blue);
  padding-top: 20px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), #4f46e5);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.reviewer-avatar.pink {
  background: linear-gradient(135deg, #EC4899, #F472B6);
  box-shadow: 0 4px 12px rgba(236,72,153,0.2);
}

.reviewer-avatar.blue {
  background: linear-gradient(135deg, #6366F1, #818CF8);
  box-shadow: 0 4px 12px rgba(99,102,241,0.2);
}

.reviewer-name-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.reviewer-name-box p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

.modern-testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-600);
  box-shadow: var(--shadow-lg);
}

/* ── FAQ (White Background with Blue Border Blocks) ─────────── */
.faq-modern-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-block {
  background: var(--bg-blue-light);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: var(--transition);
  cursor: pointer;
}

.faq-block h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-block h4::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue-600);
  font-weight: 300;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-block p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

.faq-block:hover {
  border-color: var(--blue-600);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.faq-block:hover h4::after { transform: rotate(45deg); }

/* ── CTA Banner (Alternating Solid Blue Section) ─────────────── */
.cta-banner-modern {
  padding: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0 28px 80px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue-700) 0%, #4338CA 100%);
  box-shadow: 0 24px 60px rgba(37,99,235,0.25);
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-banner-modern::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-flex-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  padding: 60px 72px;
}

.cta-left-text h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.cta-left-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}

.btn-cta-whatsapp {
  background: var(--bg-white);
  color: var(--blue-700);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.btn-cta-whatsapp:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

/* ── Footer (Midnight Blue ground) ───────────────────────────── */
.footer {
  background: #0B1220; /* Deep navy */
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0 28px;
  position: relative;
  z-index: 2;
}

.footer-layout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-modern {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
  letter-spacing: -0.5px;
}

.footer-logo-modern span { color: var(--blue-500); }

.footer-about-col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  line-height: 1.75;
}

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

.social-circle-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-circle-link:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.4);
}

.footer-layout-grid h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links-col a::before {
  content: '→';
  font-size: 0.75rem;
  color: var(--blue-500);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}

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

.footer-links-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contacts-col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contacts-col i {
  color: var(--blue-500);
  margin-top: 3px;
  flex-shrink: 0;
}

.map-rounded-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── WhatsApp FAB ────────────────────────────────────────────── */
.whatsapp-widget-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 1000;
}

.chat-greeting-bubble {
  background: var(--bg-white);
  border: 1px solid var(--border-blue);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  animation: floatBubble 3s ease-in-out infinite;
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.floating-whatsapp-modern {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(34,197,94,0.3);
  transition: var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(34,197,94,0.3), 0 0 0 0 rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 8px 24px rgba(34,197,94,0.3), 0 0 0 10px rgba(34,197,94,0); }
}

.floating-whatsapp-modern:hover {
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 16px 40px rgba(34,197,94,0.4);
}

/* ── Scroll Reveal Animations ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-layout-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner-modern { margin: 0 0 80px; border-radius: 0; }
}

@media (max-width: 992px) {
  .hero-carousel-section { min-height: 100vh; padding-top: 140px; padding-bottom: 80px; }
  .hero-carousel-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .hero-slide-overlay {
    background: 
      linear-gradient(180deg, rgba(11, 17, 32, 0.88) 0%, rgba(11, 17, 32, 0.78) 50%, rgba(11, 17, 32, 0.88) 100%);
  }
  .hero-carousel-arrow.prev { left: 16px; }
  .hero-carousel-arrow.next { right: 16px; }
  .about-grid-layout { grid-template-columns: 1fr; gap: 48px; }
  .experience-floating-tag { bottom: -16px; right: -8px; }
  .big-photo-frame { max-width: 480px; margin: 0 auto; }
  .cta-banner-modern .cta-flex-box { flex-direction: column; text-align: center; padding: 90px 40px; }
}

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

  .hero h1 { font-size: 2.4rem; letter-spacing: -1px; }

  /* Mobile Navbar */
  .header { top: 12px; width: calc(100% - 24px); }

  .nav-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-lg);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-lg);
    display: none;
    overflow: hidden;
  }

  .nav-list.active { display: flex; }

  .nav-link {
    display: block;
    padding: 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
  }

  .nav-list li:last-child .nav-link { border-bottom: none; }

  .header-action { display: none; }
  .menu-toggle { display: flex; }
  .chat-greeting-bubble { display: none; }

  .hero-carousel-section {
    padding-top: 110px;
    padding-bottom: 70px;
  }
  .hero-carousel-title {
    font-size: 2.2rem !important;
    letter-spacing: -1px;
  }
  .hero-carousel-desc {
    font-size: 0.95rem !important;
  }
  .hero-carousel-stats {
    flex-direction: column;
    width: 100%;
  }
  .hero-carousel-stats .stat-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 14px 18px;
  }
  .hero-carousel-stats .stat-card:last-child {
    border-bottom: none !important;
  }
  .hero-carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .hero-carousel-arrow.prev { left: 10px; }
  .hero-carousel-arrow.next { right: 10px; }
  .hero-slide-caption-badge {
    font-size: 0.75rem;
    padding: 8px 14px;
    white-space: normal;
  }

  .cta-banner-modern .cta-flex-box { padding: 110px 24px; }
  .cta-banner-modern { margin: 60px 0; border-radius: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-action-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .footer-layout-grid { grid-template-columns: 1fr; }
  .category-tabs-capsule { max-width: 100%; }
  .container { padding: 0 20px; }
}

/* ── Product Image Lightbox Modal ───────────────────────────── */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(11, 18, 32, 0.85); /* Deep navy glass overlay */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

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

.lightbox-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

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

.lightbox-close:hover {
  color: var(--blue-500);
  transform: scale(1.1);
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Allow pointer cursor on catalog thumb box images to invite clicking */
.catalog-thumb-box img {
  cursor: pointer;
}

/* Lightbox Navigation Buttons */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2100;
  user-select: none;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 20px;
  }
  .lightbox-next {
    right: 20px;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }
}

/* ── Full-Width Load More Button ────────────────────────────── */
.portfolio-action-row {
  width: 100%;
  margin-top: 48px;
  display: block;
  clear: both;
}

#load-more-portfolio {
  width: 100%;
  padding: 18px 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--blue-600);
  background: rgba(37, 99, 235, 0.03);
  color: var(--blue-700);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

#load-more-portfolio:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

/* ── Logo Image Styling Updates ────────────────────────────── */
.logo img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-modern img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

