/*
 * AKEEPO - Guangzhou Qipao Sports Facilities Co., Ltd.
 * Unified Visual Identity & Stylesheet
 * For: Overseas English independent website
 */

:root {
  /* Brand Palette - based on AKEEPO logo */
  --akeepo-green: #008A3C;
  --akeepo-green-dark: #006b2e;
  --akeepo-green-light: #e8f5ee;
  --akeepo-orange: #F15A24;
  --akeepo-orange-dark: #c94718;
  --akeepo-dark: #1a1a1a;
  --akeepo-gray: #6c757d;
  --akeepo-light: #f8f9fa;
  --akeepo-white: #ffffff;
  --akeepo-border: #e0e0e0;

  /* Typography */
  --font-primary: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing & Layout */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --box-shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--akeepo-dark);
  line-height: 1.6;
  background: var(--akeepo-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

a {
  color: var(--akeepo-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--akeepo-green-dark);
}

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

section {
  padding: var(--section-padding);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--akeepo-dark);
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--akeepo-orange);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--akeepo-gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--akeepo-green);
  color: var(--akeepo-white);
  border-color: var(--akeepo-green);
}

.btn-primary:hover {
  background: var(--akeepo-green-dark);
  border-color: var(--akeepo-green-dark);
  color: var(--akeepo-white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--akeepo-white);
  border-color: var(--akeepo-white);
}

.btn-outline:hover {
  background: var(--akeepo-white);
  color: var(--akeepo-green);
}

.btn-outline-dark {
  background: transparent;
  color: var(--akeepo-green);
  border-color: var(--akeepo-green);
}

.btn-outline-dark:hover {
  background: var(--akeepo-green);
  color: var(--akeepo-white);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 10px 0;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
  color: var(--akeepo-dark) !important;
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.nav-link {
  color: var(--akeepo-white) !important;
  font-weight: 600;
  margin: 0 10px;
  position: relative;
  padding: 5px 0 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--akeepo-orange);
  transition: var(--transition);
}

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

.nav-link:hover {
  color: var(--akeepo-orange) !important;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 28px;
  height: 28px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 800px;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--akeepo-white);
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content h1 span {
  color: var(--akeepo-orange);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 35px;
  opacity: 0.95;
}

.hero-btns .btn {
  margin: 10px 15px;
}

/* Video Fallback / Placeholder */
.hero-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--akeepo-green-dark) 0%, var(--akeepo-dark) 100%);
  z-index: -3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section Backgrounds */
.bg-light {
  background: var(--akeepo-light) !important;
}

.bg-green {
  background: var(--akeepo-green);
  color: var(--akeepo-white);
}

.bg-green h2,
.bg-green h3,
.bg-green p {
  color: var(--akeepo-white);
}

.bg-dark {
  background: var(--akeepo-dark) !important;
  color: var(--akeepo-white);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--akeepo-dark);
}

.card-text {
  color: var(--akeepo-gray);
  margin-bottom: 18px;
}

.card-link {
  color: var(--akeepo-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link:hover {
  color: var(--akeepo-orange);
  gap: 12px;
}

/* Product Cards */
.product-card .card-img-wrapper {
  height: 260px;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--akeepo-orange);
  color: var(--akeepo-white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

/* Features / Icons */
.feature-box {
  text-align: center;
  padding: 35px 25px;
  background: var(--akeepo-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--akeepo-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--akeepo-green);
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-box p {
  color: var(--akeepo-gray);
  margin-bottom: 0;
}

/* Stats Counter */
.stat-item {
  text-align: center;
  padding: 32px 22px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.stat-item:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #C75B22;
  display: block;
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.18);
  -webkit-box-reflect: below 2px linear-gradient(transparent 50%, rgba(255,255,255,0.22));
}

.stat-label {
  font-size: 1.1rem;
  color: var(--akeepo-white);
  opacity: 1;
}

/* FAQ */
.accordion-item {
  border: none;
  border-radius: var(--border-radius) !important;
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
  padding: 20px 25px;
  background: var(--akeepo-white);
  color: var(--akeepo-dark);
}

.accordion-button:not(.collapsed) {
  background: var(--akeepo-green-light);
  color: var(--akeepo-green-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-body {
  padding: 20px 25px;
  color: var(--akeepo-gray);
}

/* Footer */
.footer {
  background: var(--akeepo-dark);
  color: var(--akeepo-white);
  padding: 70px 0 30px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer h4 {
  color: var(--akeepo-white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--akeepo-orange);
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--akeepo-orange);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.8);
}

.footer-contact li i {
  color: var(--akeepo-orange);
  margin-top: 5px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--akeepo-white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--akeepo-orange);
  color: var(--akeepo-white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* AI Meta Description Banner */
.ai-meta-banner {
  background: linear-gradient(135deg, var(--akeepo-green) 0%, var(--akeepo-green-dark) 100%);
  color: var(--akeepo-white);
  padding: 40px 0;
  text-align: center;
}

.ai-meta-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.ai-meta-banner p {
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
  font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb-section {
  background: linear-gradient(135deg, var(--akeepo-green-dark) 0%, var(--akeepo-dark) 100%);
  color: var(--akeepo-white);
  padding: 120px 0 60px;
  text-align: center;
}

.breadcrumb-section h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-item a:hover {
  color: var(--akeepo-orange);
}

.breadcrumb-item.active {
  color: var(--akeepo-orange);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
}

/* Subtle page view counter (detail pages: product / case / news) */
.view-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}
.view-count i {
  margin-right: 5px;
  font-size: 0.85rem;
}

/* Detail Pages */
.detail-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--akeepo-green-dark) 0%, var(--akeepo-dark) 100%);
  color: var(--akeepo-white);
  text-align: center;
  margin-top: 76px;
}

.detail-content {
  padding: 60px 0;
}

.detail-gallery img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.spec-table th,
.spec-table td {
  padding: 15px;
  border: 1px solid var(--akeepo-border);
  text-align: left;
}

.spec-table th {
  background: var(--akeepo-green-light);
  color: var(--akeepo-green-dark);
  font-weight: 700;
  width: 35%;
}

/* Product Detail Gallery */
.detail-gallery {
  position: relative;
}
.pd-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background: var(--akeepo-light);
  margin-bottom: 0;
  display: block;
}
.pd-thumbs {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  flex: 0 0 auto;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-thumb:hover {
  transform: translateY(-2px);
}
.pd-thumb.active {
  border-color: var(--akeepo-orange);
}

/* Gallery layout: main stage on top, thumbnails in a horizontal strip below (desktop & mobile) */
.pd-gallery-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.pd-stage {
  flex: 1 1 auto;
  min-width: 0;
}
.pd-stage img,
.pd-stage video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background: var(--akeepo-light);
  display: block;
}
.pd-stage video {
  object-fit: contain;
  background: var(--akeepo-dark);
}
/* Play icon overlay for the video thumbnail */
.pd-thumb {
  position: relative;
}
.pd-thumb .pd-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 20px;
  border-radius: 8px;
  pointer-events: none;
  transition: background 0.25s ease;
}
.pd-thumb:hover .pd-thumb-play {
  background: rgba(0, 0, 0, 0.18);
}
.pd-thumb.active .pd-thumb-play {
  background: rgba(0, 0, 0, 0.12);
}

/* Product hero info */
.pd-cat-badge {
  display: inline-block;
  background: var(--akeepo-green);
  color: var(--akeepo-white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.pd-tagline {
  color: var(--akeepo-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.pd-price-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--akeepo-green-light);
  color: var(--akeepo-green-dark);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.pd-highlights {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.pd-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--akeepo-dark);
  line-height: 1.5;
}
.pd-highlights li i {
  color: var(--akeepo-green);
  margin-top: 4px;
  flex: 0 0 auto;
}
.pd-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 8px 0 28px;
}
.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--akeepo-gray);
  font-size: 0.9rem;
}
.pd-trust-item i {
  color: var(--akeepo-orange);
}

/* Rich detail blocks with images */
.detail-rich {
  padding: 30px 0 10px;
}
.detail-rich-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}
.detail-rich-img {
  width: 100%;
  margin-bottom: 22px;
}
.detail-rich-img img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
}
.detail-rich-text {
  width: 100%;
}
.detail-rich-text h3 {
  font-size: 1.5rem;
  color: var(--akeepo-dark);
  margin-bottom: 14px;
  position: relative;
  padding-left: 16px;
}
.detail-rich-text h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  background: var(--akeepo-green);
  border-radius: 3px;
}
.detail-rich-text p {
  color: var(--akeepo-gray);
  line-height: 1.8;
}
@media (max-width: 575.98px) {
  .pd-thumb {
    width: 70px;
    height: 70px;
  }
}

/* Contact Page */
.contact-form-card {
  background: var(--akeepo-white);
  padding: 40px 35px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-hover);
}

.contact-form .form-control {
  padding: 14px 18px;
  border: 1px solid var(--akeepo-border);
  border-radius: var(--border-radius);
  margin-bottom: 0;
}

.contact-form .form-control:focus {
  border-color: var(--akeepo-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 138, 60, 0.15);
}

.contact-form .form-floating label {
  color: var(--akeepo-gray);
  font-size: 0.9rem;
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--akeepo-green);
}

.contact-info-card {
  text-align: center;
  padding: 35px 25px;
  background: var(--akeepo-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-hover);
}

.contact-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--akeepo-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--akeepo-green);
  transition: var(--transition);
}

.contact-info-card:hover .contact-card-icon {
  background: var(--akeepo-green);
  color: var(--akeepo-white);
  transform: scale(1.1);
}

.contact-info-card h4 {
  font-size: 1.1rem;
  color: var(--akeepo-dark);
  margin-bottom: 10px;
}

.contact-info-card p {
  color: var(--akeepo-gray);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-card p a {
  color: var(--akeepo-green);
  font-weight: 600;
}

.contact-info-card p a:hover {
  color: var(--akeepo-orange);
}

/* Contact Map Section */
.contact-map-section {
  background: var(--akeepo-light);
}

.contact-map-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-hover);
  max-width: 900px;
  margin: 0 auto;
}

.contact-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Contact Social Section - Green Brand Background */
.contact-social-section {
  background: linear-gradient(135deg, var(--akeepo-green) 0%, var(--akeepo-green-dark) 100%);
  padding: 80px 0;
}

.contact-social-section h2 {
  color: var(--akeepo-white);
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-social-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.contact-social-section .social-links a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--akeepo-white);
  font-size: 1.2rem;
}

.contact-social-section .social-links a:hover {
  background: var(--akeepo-orange);
  transform: translateY(-4px);
}

/* Pagination */
.page-link {
  color: var(--akeepo-green);
  border: 1px solid var(--akeepo-border);
  padding: 10px 18px;
  margin: 0 4px;
  border-radius: var(--border-radius);
}

.page-link:hover {
  background: var(--akeepo-green);
  color: var(--akeepo-white);
  border-color: var(--akeepo-green);
}

.page-item.active .page-link {
  background: var(--akeepo-green);
  border-color: var(--akeepo-green);
}

/* Pagination Wrapper */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding-top: 30px;
}

.pagination-wrapper .pagination {
  gap: 6px;
  margin-bottom: 0;
}

.pagination-wrapper .page-item:first-child .page-link,
.pagination-wrapper .page-item:last-child .page-link {
  border-radius: var(--border-radius);
}

.pagination-wrapper .page-link {
  min-width: 44px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: var(--transition);
}

.pagination-wrapper .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 138, 60, 0.15);
}

.pagination-wrapper .page-item.disabled .page-link {
  color: var(--akeepo-border);
  pointer-events: none;
}

/* News subtitle in breadcrumb (moved from inline style) */
.news-page-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* Lazyload Placeholder */
.lazyload,
.lazyloading {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lazyloaded {
  opacity: 1;
}

/* Navbar Dropdowns */
.dropdown-menu {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-hover);
  padding: 10px;
  margin-top: 0;
  background-color: var(--akeepo-white);
}

.dropdown-item {
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--akeepo-dark);
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--akeepo-green-light);
  color: var(--akeepo-green-dark);
}

.dropdown-toggle::after {
  margin-left: 5px;
  vertical-align: middle;
}

/* ============================================
   AKEEPO - About Page Specific Styles
   ============================================ */

/* About page - orange underline for section headers */
.about-orange-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--akeepo-orange);
  margin: 15px auto 0;
  border-radius: 2px;
}

.about-orange-line.light {
  background: var(--akeepo-orange);
}

.section-header.text-start .about-orange-line {
  margin: 15px 0 0 0;
}

.about-lead {
  color: var(--akeepo-green);
  font-weight: 600;
}

/* Mission & Vision cards */
.mission-card {
  background: var(--akeepo-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 35px 30px;
  height: 100%;
  transition: var(--transition);
  border-top: 4px solid var(--akeepo-green);
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.mission-icon {
  width: 60px;
  height: 60px;
  background: var(--akeepo-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--akeepo-green);
  margin-bottom: 20px;
}

.mission-card h3 {
  font-size: 1.3rem;
  color: var(--akeepo-dark);
  margin-bottom: 15px;
}

.mission-card p {
  color: var(--akeepo-gray);
  margin: 0;
  line-height: 1.8;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--akeepo-green), var(--akeepo-orange));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 35px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--akeepo-green);
  border: 3px solid var(--akeepo-white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--akeepo-green);
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--akeepo-orange);
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

.timeline-content {
  background: var(--akeepo-white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--akeepo-dark);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--akeepo-gray);
  margin: 0;
  font-size: 0.95rem;
}

/* Certification cards */
.cert-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--akeepo-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
  height: 100%;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.cert-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: var(--akeepo-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--akeepo-green);
}

.cert-card h4 {
  font-size: 1.05rem;
  color: var(--akeepo-dark);
  margin-bottom: 8px;
}

.cert-card p {
  color: var(--akeepo-gray);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.7;
}

/* Why Choose AKEEPO cards (on green background) */
.choose-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  padding: 30px 25px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}

.choose-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}

.choose-icon {
  width: 65px;
  height: 65px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--akeepo-orange);
  margin: 0 auto 20px;
}

.choose-card h3 {
  font-size: 1.15rem;
  color: var(--akeepo-white);
  margin-bottom: 12px;
}

.choose-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.7;
}

/* CTA section */
.about-cta {
  background: linear-gradient(135deg, var(--akeepo-green-light) 0%, var(--akeepo-white) 100%);
  border-radius: var(--border-radius);
  padding: 60px 40px;
  text-align: center;
  border: 2px solid var(--akeepo-green-light);
}

.about-cta h2 {
  font-size: 2rem;
  color: var(--akeepo-dark);
  margin-bottom: 15px;
}

.about-cta p {
  color: var(--akeepo-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ============================================
   Dropdown Arrow Fix - no background conflict
   ============================================ */
.dropdown-arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  vertical-align: middle;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dropdown-toggle:hover .dropdown-arrow,
.dropdown-toggle.show .dropdown-arrow {
  transform: rotate(225deg);
  margin-bottom: -2px;
  opacity: 1;
}

/* Remove Bootstrap's default caret to avoid double arrow */
.dropdown-toggle::after {
  display: none !important;
}

/* ============================================
   Navbar Dropdowns (existing - keep for ref)
   ============================================ */
.dropdown-menu {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-hover);
  padding: 10px;
  margin-top: 0;
}

.dropdown-item {
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--akeepo-dark);
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--akeepo-green-light);
  color: var(--akeepo-green-dark);
}

.navbar.scrolled .dropdown-arrow {
  border-color: var(--akeepo-dark);
}

/* Friendly Links Section */
.friendly-links {
  background: var(--akeepo-light);
  padding: 30px 0;
  border-top: 1px solid var(--akeepo-border);
}

.friendly-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--akeepo-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.friendly-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--akeepo-orange);
  border-radius: 2px;
}

.friendly-links-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.friendly-links-list li a {
  display: inline-block;
  padding: 6px 16px;
  background: var(--akeepo-white);
  border: 1px solid var(--akeepo-border);
  border-radius: 20px;
  color: var(--akeepo-gray);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.friendly-links-list li a:hover {
  background: var(--akeepo-green);
  color: var(--akeepo-white);
  border-color: var(--akeepo-green);
  transform: translateY(-2px);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--akeepo-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
  margin-bottom: 25px;
  transition: var(--transition);
}

.sidebar-widget:hover {
  box-shadow: var(--box-shadow-hover);
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  color: var(--akeepo-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--akeepo-green-light);
  position: relative;
}

.sidebar-widget h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--akeepo-orange);
}

/* Recommended Products Widget */
.recommended-product-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--akeepo-border);
  transition: var(--transition);
}

.recommended-product-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recommended-product-item:hover {
  transform: translateX(4px);
}

.recommended-product-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: var(--box-shadow);
}

.recommended-product-item .product-info h5 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--akeepo-dark);
  font-weight: 700;
  line-height: 1.3;
}

.recommended-product-item .product-info p {
  font-size: 0.8rem;
  color: var(--akeepo-gray);
  margin: 0;
}

.recommended-product-item .product-info .price {
  color: var(--akeepo-orange);
  font-weight: 700;
  font-size: 0.85rem;
}

.recommended-product-item .product-info a {
  color: var(--akeepo-green);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.recommended-product-item .product-info a:hover {
  color: var(--akeepo-orange);
}

/* Hot Articles Widget */
.hot-article-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--akeepo-border);
  transition: var(--transition);
}

.hot-article-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hot-article-item:hover {
  transform: translateX(4px);
}

.hot-article-item .article-num {
  width: 28px;
  height: 28px;
  background: var(--akeepo-green-light);
  color: var(--akeepo-green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hot-article-item .article-info h5 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--akeepo-dark);
  font-weight: 700;
  line-height: 1.3;
}

.hot-article-item .article-info p {
  font-size: 0.78rem;
  color: var(--akeepo-gray);
  margin: 0;
}

.hot-article-item .article-info a {
  color: var(--akeepo-green);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.hot-article-item .article-info a:hover {
  color: var(--akeepo-orange);
}

/* Contact Widget (sidebar) */
.sidebar-contact-widget {
  background: linear-gradient(135deg, var(--akeepo-green) 0%, var(--akeepo-green-dark) 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-hover);
  padding: 25px;
  margin-bottom: 25px;
  color: var(--akeepo-white);
}

.sidebar-contact-widget h4 {
  font-size: 1.1rem;
  color: var(--akeepo-white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.sidebar-contact-widget .contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: flex-start;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  line-height: 1.5;
}

.sidebar-contact-widget .contact-item i {
  color: var(--akeepo-orange);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.sidebar-contact-widget .contact-item a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.sidebar-contact-widget .contact-item a:hover {
  color: var(--akeepo-orange);
}

/* Factory Gallery - unified image style */
.factory-gallery-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: block;
}

.factory-gallery-img:hover {
  transform: scale(1.03);
  box-shadow: var(--box-shadow-hover);
}

/* Responsive */
@media (max-width: 991.98px) {
  /* Mobile navbar: always show background so logo/toggler are visible */
  .navbar {
    background-color: rgba(0, 0, 0, 0.85) !important;
  }
  /* Sub-pages already have .scrolled (white bg with !important) — that wins */
  .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-btns .btn {
    display: block;
    margin: 10px 0;
  }

  .hero {
    height: 600px;
    min-height: 600px;
  }

  section {
    padding: 50px 0;
  }

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

  .stat-number {
    font-size: 2.2rem;
  }

  .detail-hero h1 {
    font-size: 1.8rem;
  }

  .contact-form-card {
    padding: 25px 20px;
  }

  .contact-map-wrapper iframe {
    height: 280px;
  }

  .contact-social-section {
    padding: 50px 0;
  }

  .contact-social-section h2 {
    font-size: 1.5rem;
  }
}

/* Tablet & mobile: Project Cases & News stack vertically, full width */
@media (max-width: 991.98px) {
  .gallery-zoom {
    grid-template-columns: 1fr;
  }
  .gallery-zoom-item {
    width: 100%;
  }
  .gallery-zoom-item .gz-img-wrapper {
    height: 240px;
  }
  .gallery-zoom-item .gz-overlay {
    position: static;
    background: var(--akeepo-white);
    color: var(--akeepo-dark);
    padding: 16px 18px;
    width: 100%;
  }
  .gallery-zoom-item .gz-overlay h3 {
    color: var(--akeepo-dark);
    font-size: 1.1rem;
  }
  .cert-scroll-item {
    width: 340px;
  }
  .cert-scroll-item img {
    height: 260px;
  }
  .about-video-wrapper {
    min-height: 300px;
  }
  .event-fullwidth-img img {
    height: 360px;
  }
  .event-fullwidth-overlay h2 {
    font-size: 2rem;
  }
  .event-fullwidth-overlay p {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .fp-img-wrapper {
    height: 200px;
  }
  .cert-scroll-item {
    width: 280px;
  }
  .cert-scroll-item img {
    height: 220px;
    padding: 10px;
  }
  .event-fullwidth-img img {
    height: 280px;
  }
  .event-fullwidth-overlay h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  .event-fullwidth-overlay p {
    font-size: 0.88rem;
  }
}

/* Animation Utilities */
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

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

/* Image hover overlay for cases */
.case-card {
  position: relative;
}

.case-card .card-img-wrapper {
  height: 280px;
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 30px 20px 20px;
  color: var(--akeepo-white);
  transition: var(--transition);
}

.case-overlay h3 {
  color: var(--akeepo-white);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.case-overlay span {
  color: var(--akeepo-orange);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Video Section */
.video-section {
  position: relative;
  padding: 0;
  background: var(--akeepo-dark);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Product 3D video block on product-detail.html (shared by all series) */
.product-video-wrap {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--akeepo-dark);
  box-shadow: var(--box-shadow-hover);
}
.product-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 575.98px) {
  .product-video-wrap {
    max-width: 100%;
  }
}

/* Tags */
.tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--akeepo-green-light);
  color: var(--akeepo-green-dark);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* List Pages */
.list-filter {
  background: var(--akeepo-light);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
}

.list-filter .btn {
  margin: 5px;
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* News Cards */
.news-card .card-img-wrapper {
  height: 200px;
}

.news-badge {
  font-size: 0.7rem;
}

.news-meta {
  font-size: 0.85rem;
  color: var(--akeepo-gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   About Section Video (index.html)
   ============================================ */
.about-video-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  aspect-ratio: 4 / 3;
  background: var(--akeepo-dark);
}

.about-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* About video: click-to-play button overlay */
.about-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border: none;
  border-radius: 50%;
  background: var(--akeepo-green);
  color: #ffffff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.about-video-play:hover {
  background: var(--akeepo-orange);
  transform: translate(-50%, -50%) scale(1.08);
}

.about-video-play i {
  margin-left: 5px;
}

/* ============================================
   Featured Products - 6 images, zoom, no badge/desc
   ============================================ */
/* Featured Products: tighten top gap so the title shows in the first viewport */
.recommended-products-section {
  padding-top: 40px;
}

.fp-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background: var(--akeepo-white);
}

.fp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-hover);
  text-decoration: none;
  color: inherit;
}

.fp-img-wrapper {
  overflow: hidden;
  height: 260px;
}

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

.fp-card:hover .fp-img-wrapper img {
  transform: scale(1.12);
}

.fp-title {
  display: block;
  padding: 16px 18px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.3px;
  background-color: var(--akeepo-green);
  transition: background-color 0.3s ease;
}

.fp-card:hover .fp-title {
  background-color: var(--akeepo-orange);
}

/* ============================================
   Certificates Auto-Scroll (index.html)
   ============================================ */
.cert-auto-scroll-section {
  padding: 80px 0 60px;
  background: var(--akeepo-light);
  overflow: hidden;
}

.cert-auto-scroll-section .section-header {
  margin-bottom: 40px;
}

.cert-scroll-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.cert-scroll-outer::before,
.cert-scroll-outer::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.cert-scroll-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--akeepo-light), transparent);
}

.cert-scroll-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--akeepo-light), transparent);
}

.cert-scroll-track {
  display: flex;
  gap: 20px;
  animation: certScroll 30s linear infinite;
  width: max-content;
}

.cert-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes certScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cert-item {
  flex: 0 0 auto;
  width: 280px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background: var(--akeepo-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-hover);
}

.cert-item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--akeepo-light);
  padding: 15px;
  display: block;
}

/* ============================================
   Event Exhibition Section (index.html)
   ============================================ */
.event-section {
  padding: 80px 0 0;
  background: var(--akeepo-white);
}

.event-section .section-header {
  margin-bottom: 40px;
}

.event-fullwidth-img {
  width: 100%;
  overflow: hidden;
  background: var(--akeepo-dark);
}

.event-fullwidth-img img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.event-fullwidth-img:hover img {
  transform: scale(1.05);
}

/* ============================================
   Gallery Zoom — 4-column grid with zoom (index.html)
   ============================================ */
.gallery-zoom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-zoom-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-zoom-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-hover);
}

.gallery-zoom-item .gz-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.gallery-zoom-item .gz-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-zoom-item:hover .gz-img-wrapper img {
  transform: scale(1.15);
}

.gallery-zoom-item .gz-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 40px 20px 20px;
  color: var(--akeepo-white);
}

.gallery-zoom-item .gz-overlay span {
  color: var(--akeepo-orange);
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.gallery-zoom-item .gz-overlay h3 {
  color: var(--akeepo-white);
  font-size: 1.15rem;
  margin: 0;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--akeepo-green);
  color: var(--akeepo-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--box-shadow-hover);
}

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

.back-to-top:hover {
  background: var(--akeepo-orange);
  transform: translateY(-3px);
}

/* ============================================
   NAVBAR: Get a Quote Button
   ============================================ */
.btn-quote-nav {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--akeepo-orange), var(--akeepo-orange-dark));
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(241, 90, 36, 0.4);
  transition: all 0.3s ease;
  margin-left: 8px;
}

.btn-quote-nav:hover {
  background: linear-gradient(135deg, var(--akeepo-orange-dark), var(--akeepo-orange));
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(241, 90, 36, 0.5);
}

.btn-quote-nav:active {
  transform: translateY(0);
}

/* ============================================
   NAVBAR: Search Icon Button (top bar)
   ============================================ */
.search-bar-top {
  position: fixed;
  top: 0;
  right: 60px;
  z-index: 1060;
  display: none;
}

.search-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 0 0 12px 12px;
  background: rgba(0, 138, 60, 0.92);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 138, 60, 0.3);
  transition: all 0.3s ease;
}

.search-icon-btn:hover {
  background: var(--akeepo-orange);
  transform: translateY(2px);
}

/* Desktop navbar search button (mirrors the mobile floating search) */
.search-nav-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  padding: 0 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.25s ease;
}
.search-nav-btn:hover {
  color: var(--akeepo-orange);
}

/* On inner pages the navbar loads with .scrolled (white background),
   so the search icon must switch from white to dark for contrast. */
.navbar.scrolled .search-nav-btn {
  color: var(--akeepo-dark);
}
.navbar.scrolled .search-nav-btn:hover {
  color: var(--akeepo-orange);
}

/* ============================================
   SEARCH MODAL
   ============================================ */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 640px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
  transform: translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.search-modal-header h3 {
  font-size: 1.1rem;
  color: var(--akeepo-dark);
  margin: 0;
}

.search-modal-header h3 i {
  color: var(--akeepo-green);
  margin-right: 8px;
}

.search-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--akeepo-light);
  border: none;
  color: var(--akeepo-gray);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.search-close-btn:hover {
  background: var(--akeepo-orange);
  color: #fff;
}

.search-input-wrapper {
  position: relative;
  padding: 16px 24px 0;
}

.search-input-wrapper input {
  width: 100%;
  padding: 14px 48px 14px 48px;
  border: 2px solid var(--akeepo-border);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--akeepo-dark);
  background: var(--akeepo-light);
  outline: none;
  transition: all 0.2s;
}

.search-input-wrapper input:focus {
  border-color: var(--akeepo-green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 138, 60, 0.1);
}

.search-input-icon {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-8px);
  color: var(--akeepo-gray);
  font-size: 1rem;
}

.search-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 12px 24px 24px;
}

.search-hint {
  text-align: center;
  padding: 30px 0;
  color: var(--akeepo-gray);
  font-size: 0.95rem;
}

.search-no-results {
  text-align: center;
  padding: 30px 0;
  color: var(--akeepo-gray);
}

.search-no-results i {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--akeepo-border);
}

.search-result-count {
  font-size: 0.8rem;
  color: var(--akeepo-gray);
  padding: 8px 0 4px;
  border-bottom: 1px solid var(--akeepo-border);
  margin-bottom: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--akeepo-dark);
  transition: all 0.2s;
  border-bottom: 1px solid var(--akeepo-light);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--akeepo-green-light);
  transform: translateX(4px);
}

.search-result-type {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 80px;
  justify-content: center;
}

.search-result-type.res-product {
  background: #e8f5ee;
  color: var(--akeepo-green);
}

.search-result-type.res-case {
  background: #fff3e0;
  color: var(--akeepo-orange);
}

.search-result-type.res-news {
  background: #e3f2fd;
  color: #1565c0;
}

.search-result-type.res-faq {
  background: #f3e5f5;
  color: #7b1fa2;
}

.search-result-body {
  flex: 1;
  min-width: 0;
}

.search-result-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--akeepo-dark);
}

.search-result-body p {
  font-size: 0.8rem;
  color: var(--akeepo-gray);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-arrow {
  flex-shrink: 0;
  color: var(--akeepo-green);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.search-result-item:hover .search-result-arrow {
  opacity: 1;
}

/* ============================================
   FAQ PAGE
   ============================================ */

/* Category Tabs */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.faq-tab-btn {
  padding: 10px 24px;
  border: 2px solid var(--akeepo-border);
  border-radius: 50px;
  background: transparent;
  color: var(--akeepo-gray);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s;
}

.faq-tab-btn:hover {
  border-color: var(--akeepo-green);
  color: var(--akeepo-green);
}

.faq-tab-btn.active {
  background: var(--akeepo-green);
  border-color: var(--akeepo-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 138, 60, 0.3);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--akeepo-border);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 138, 60, 0.3);
}

.faq-item.open {
  border-color: var(--akeepo-green);
  box-shadow: 0 4px 20px rgba(0, 138, 60, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--akeepo-green-light);
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--akeepo-dark);
  margin: 0;
  flex: 1;
}

.faq-toggle-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--akeepo-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--akeepo-green);
  font-size: 0.85rem;
  transition: all 0.3s;
}

.faq-item.open .faq-toggle-icon {
  background: var(--akeepo-green);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--akeepo-gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-answer ul {
  padding: 0 24px 20px 44px;
  margin: 0;
}

.faq-answer li {
  color: var(--akeepo-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.faq-answer a {
  color: var(--akeepo-green);
  font-weight: 600;
}

/* FAQ CTA Box */
.faq-cta-box {
  background: linear-gradient(135deg, var(--akeepo-green-light), #f0fdf4);
  border: 2px solid rgba(0, 138, 60, 0.15);
  border-radius: 16px;
  padding: 40px 30px;
  margin-top: 50px;
}

.faq-cta-box h3 {
  font-size: 1.4rem;
  color: var(--akeepo-green-dark);
  margin-bottom: 10px;
}

.faq-cta-box p {
  color: var(--akeepo-gray);
  margin-bottom: 24px;
  font-size: 1rem;
}

/* ============================================
   Responsive: Nav, Search, FAQ
   ============================================ */
@media (max-width: 991.98px) {
  .search-bar-top {
    display: block;
  }

  .btn-quote-nav {
    margin: 8px 0 0;
    justify-content: center;
    width: 100%;
  }

  .navbar-collapse {
    background: rgba(255,255,255,0.98);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    box-shadow: var(--box-shadow);
  }

  .navbar-collapse .nav-link {
    color: var(--akeepo-dark) !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--akeepo-border);
    border-radius: 0;
  }

  .navbar-collapse .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .search-modal {
    padding-top: 20px;
    align-items: flex-start;
  }

  .search-modal-content {
    width: 96%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .faq-tabs {
    gap: 8px;
  }

  .faq-tab-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 575.98px) {
  .faq-question {
    padding: 16px 18px;
  }

  .faq-question h3 {
    font-size: 0.92rem;
  }

  .faq-answer p,
  .faq-answer ul {
    padding-left: 18px;
    padding-right: 18px;
  }

  .faq-answer ul {
    padding-left: 38px;
  }
}

/* ============================================
   Mobile Fixes (added 2026-07-06)
   - Gallery zoom: ensure single column on mobile
   - About video: center on mobile
   - Overflow-x: prevent horizontal scroll
   ============================================ */

/* Gallery zoom: 2 columns on tablet, 1 column on mobile */
@media (max-width: 1199.98px) {
  .gallery-zoom {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767.98px) {
  .gallery-zoom {
    grid-template-columns: 1fr !important;
  }

  /* About video: center on mobile */
  .about-video-wrapper {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Prevent horizontal overflow from various elements */
  .container,
  .container-fluid {
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* Ensure images never exceed container */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Prevent table overflow */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Fix any flex row overflow */
  .row {
    margin-left: 0;
    margin-right: 0;
  }

  /* Ensure section padding doesn't cause overflow */
  section {
    padding-left: 0;
    padding-right: 0;
  }

  section > .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Cert scroll: prevent overflow */
  .cert-scroll-outer {
    overflow: hidden;
  }

  /* Event fullwidth image: prevent overflow */
  .event-fullwidth-img {
    overflow: hidden;
  }

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

  /* Navbar: prevent dropdown menu overflow */
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Detail pages: prevent code/pre overflow */
  pre, code {
    white-space: pre-wrap;
    word-break: break-all;
  }

  /* Friendly links: prevent overflow */
  .friendly-links-list {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Footer: prevent overflow */
  .footer {
    overflow-x: hidden;
  }
}

