/*
Theme Name: huyftventer
Theme URI: https://fonttiengviet.com/
Author: Nguyễn Văn Huy
Author URI: https://fonttiengviet.com/
Description: Theme trắng tối giản để phát triển giao diện tuỳ chỉnh.
Version: 1.2
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huyftventer
*/

/* ============================================
   COLOR SYSTEM - Hệ thống màu sắc
   ============================================ */
:root {
  /* Primary Colors - Màu chính */
  --primary-color: #c72538;
  --primary-hover: #a01e2a;
  --primary-light: #e84a5f;
  --primary-dark: #8b1a28;
  
  /* Secondary Colors - Màu phụ */
  --secondary-color: #1a1a1a;
  --secondary-light: #2d2d2d;
  
  /* Neutral Colors - Màu trung tính */
  --bg-color: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #999999;
  
  /* Border & Divider */
  --border-color: #e0e0e0;
  --border-light: #f0f0f0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #c72538 0%, #8b1a28 100%);
  --gradient-hover: linear-gradient(135deg, #a01e2a 0%, #6b1520 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(199, 37, 56, 0.08);
  --shadow-md: 0 4px 20px rgba(199, 37, 56, 0.12);
  --shadow-lg: 0 8px 30px rgba(199, 37, 56, 0.15);
}

body {
  background: var(--bg-color);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Ngăn thanh cuộn ngang */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

/* Reset hover cho các button/link có background */
a.cta-button:hover,
a.hire-btn:hover,
a.team-cta-btn:hover,
a.blog-view-all:hover,
button:hover,
.submit-btn:hover {
  color: white;
}

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

/* Hero Section */
.hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1465101046530-73398c7f28ca?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.hero-content {
  background: rgba(0,0,0,0.5);
  padding: 40px 30px;
  border-radius: 12px;
}

/* Section */
section {
  padding: 20px 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.col {
  flex: 1 1 0;
  min-width: 220px;
}

/* Card */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 24px;
  margin-bottom: 32px;
}

/* Services Section */
.section-services {
  background: #f8f9fa;
  padding: 80px 0;
}

.services-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.services-left {
  flex: 1;
  max-width: 45%;
}

.services-right {
  flex: 1;
}

.services-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.services-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.services-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 35px;
}

.hire-btn {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

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

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

.service-item {
  text-align: left;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 40px;
}

.service-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.service-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 1024px) {
  .services-layout {
    flex-direction: column;
    gap: 50px;
  }
  
  .services-left {
    max-width: 100%;
  }
  
  .services-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .service-item {
    text-align: center;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .service-item h3 {
    font-size: 1rem;
  }
  
  .service-item p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .services-title {
    font-size: 1.8rem;
  }
}

/* Portfolio Section */
/* Featured Services - Dịch vụ tiêu biểu (Fullscreen Slider with Groups) */
.section-featured-services {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 50vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #000;
}

.featured-services-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.featured-services-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.featured-services-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Group Container - Each slide shows multiple items */
.featured-services-group {
  flex: 0 0 100%;
  width: 100%;
  height: 50vh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 0;
}

.featured-service-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.featured-service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}

.featured-service-item:hover .featured-service-bg {
  transform: scale(1.1);
}

.featured-service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
  transition: background 0.4s ease;
}

.featured-service-item:hover .featured-service-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.featured-service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.featured-service-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -1px;
  line-height: 1.1;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.featured-service-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  opacity: 1;
  max-height: 1.6em; /* Chỉ hiển thị 1 dòng */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* Giới hạn 1 dòng */
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.featured-service-item:hover .featured-service-title {
  transform: translateY(-10px);
}

.featured-service-item:hover .featured-service-excerpt {
  opacity: 0;
  max-height: 0;
  margin: 0;
}

.featured-service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.featured-service-item:hover .featured-service-btn {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.featured-service-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  color: #fff;
  transform: translateY(0) translateX(5px);
}

/* Navigation Controls */
.featured-services-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
  pointer-events: none;
}

.featured-service-nav {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.featured-service-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

/* Slide Indicators */
.featured-services-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.featured-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.featured-indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.featured-indicator.active {
  background: #fff;
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .featured-services-group {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .featured-service-content {
    padding: 40px 25px;
  }
  
  .featured-service-title {
    font-size: 1.4rem;
  }
  
  .featured-service-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .featured-service-nav {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .featured-services-controls {
    padding: 0 25px;
  }
}

@media (max-width: 768px) {
  .featured-services-group {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .featured-service-content {
    padding: 25px 15px;
    gap: 12px;
  }
  
  .featured-service-title {
    font-size: 1.2rem;
  }
  
  .featured-service-excerpt {
    font-size: 0.85rem;
  }
  
  .featured-service-btn {
    padding: 9px 20px;
    font-size: 0.8rem;
  }
  
  .featured-service-nav {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .featured-services-controls {
    padding: 0 15px;
  }
  
  .featured-services-indicators {
    bottom: 15px;
    gap: 8px;
  }
  
  .featured-indicator {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .featured-service-content {
    padding: 30px 20px;
  }
  
  .featured-service-title {
    font-size: 1.5rem;
  }
  
  .featured-service-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* Mission Section */
.section-mission {
  padding: 80px 0;
  background: #f8f9fa;
}

.mission-header {
  text-align: center;
  margin-bottom: 60px;
}

.mission-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.mission-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.mission-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.mission-left {
  flex: 1;
}

.mission-right {
  flex: 1;
}

.mission-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.mission-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: white;
}

.mission-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mission-category {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
}

.mission-accordion {
  max-width: 100%;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.accordion-header:hover {
  color: var(--primary-color);
}

.accordion-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.3s;
}

.accordion-item.active .accordion-header h3 {
  color: var(--primary-color);
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-secondary);
  transition: all 0.3s;
  min-width: 20px;
  text-align: center;
}

.accordion-item.active .accordion-icon {
  color: var(--primary-color);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.accordion-item.active .accordion-content {
  padding-bottom: 66px;
}

.accordion-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Stats Section */
.section-stats {
  background: white;
  padding: 60px 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .mission-layout {
    flex-direction: column;
    gap: 50px;
  }
  
  .mission-title {
    font-size: 2.2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mission-title {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
}

/* Old Stats (keeping for compatibility) */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
}
.stat {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}
.stat-label {
  font-size: 1rem;
  color: #555;
}

/* Team */
.team {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.team-member {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 20px;
  text-align: center;
  width: 180px;
}
.team-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.team-member h4 {
  margin-bottom: 8px;
}
.team-member p {
  font-size: 0.95rem;
  color: #888;
}

/* Blog */
.blog-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 18px;
  width: 220px;
}
.blog-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.blog-card h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.blog-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--text-primary);
  color: #fff;
  padding: 40px 0 20px 0;
  text-align: center;
}
footer .footer-content {
  max-width: 1200px;
  margin: 0 auto 20px auto;
}
footer a {
  color: #fff;
  margin: 0 8px;
  text-decoration: underline;
}
footer a:hover {
  color: #0073aa;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-container {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  flex: 0 0 auto;
}

.logo-image {
  display: flex;
  align-items: center;
}

.logo-image img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s;
}

header.scrolled .logo-image img {
  filter: brightness(0) invert(0);
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}
.search-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #333;
  border-radius: 50%;
  transition: all 0.3s;
  margin-left: 10px;
}
.search-icon:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}
.search-icon:hover svg {
  stroke: white;
}
.search-icon svg {
  width: 18px;
  height: 18px;
  stroke: #333;
  stroke-width: 2;
  fill: none;
}
.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  text-transform: uppercase;
}
.nav-menu a:hover {
  color: var(--primary-color);
}

header.scrolled .nav-menu a {
  color: var(--text-primary);
}

header.scrolled .nav-menu a:hover {
  color: var(--primary-color);
}

header.scrolled .logo {
  color: var(--text-primary);
}

.logo {
  color: white;
  transition: all 0.3s;
}

header.scrolled .search-icon {
  border-color: var(--text-primary);
}
header.scrolled .search-icon svg {
  stroke: #333;
}

.search-icon {
  border-color: white;
  transition: all 0.3s;
}
.search-icon svg {
  stroke: white;
  transition: all 0.3s;
}

/* Gallery Album Page - Dark Header */
body.gallery-album-page header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.gallery-album-page .logo {
  color: var(--text-primary);
}

body.gallery-album-page .logo-image img {
  filter: brightness(0) invert(0);
}

body.gallery-album-page .nav-menu a {
  color: var(--text-primary);
}

body.gallery-album-page .nav-menu a:hover {
  color: var(--primary-color);
}

body.gallery-album-page .search-icon {
  border-color: var(--text-primary);
}

body.gallery-album-page .search-icon svg {
  stroke: #333;
}

/* Search Popup Styles */
.search-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.search-popup-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-popup-overlay.active .search-popup-content {
  transform: scale(1);
}

.search-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 36px;
  color: #999;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.search-popup-close:hover {
  background: #f5f5f5;
  color: var(--primary-color);
  transform: rotate(90deg);
}

.search-popup-header {
  margin-bottom: 30px;
  text-align: center;
}

.search-popup-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.search-popup-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Search Type Tabs */
.search-type-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
}

.search-type-tab {
  flex: 1;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-type-tab i {
  font-size: 1.2rem;
}

.search-type-tab:hover {
  background: #fff;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(199, 37, 56, 0.2);
}

.search-type-tab.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(199, 37, 56, 0.3);
}

.search-type-tab.active:hover {
  transform: translateY(-2px);
}

/* Search Input */
.search-input-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.search-popup-input {
  width: 90%;
  padding: 18px 60px 18px 25px;
  font-size: 1.05rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: #f8f9fa;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.search-popup-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 4px 20px rgba(199, 37, 56, 0.15);
}

.search-submit-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(199, 37, 56, 0.3);
}

.search-submit-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(199, 37, 56, 0.4);
}

.search-submit-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Search Results */
.search-results {
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.search-results-placeholder,
.search-no-results,
.search-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.search-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 500;
}

.search-loading i {
  margin-right: 10px;
  font-size: 1.3rem;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-result-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.search-result-item:hover {
  background: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(199, 37, 56, 0.15);
}

.search-result-thumbnail {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.search-result-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.search-result-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-type {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

/* ============================================
   MOBILE MENU - Hamburger Menu
   ============================================ */

/* Hide mobile menu elements on desktop */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-overlay {
  display: none;
}

.desktop-search {
  display: flex;
}

/* Hamburger Button */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 9999999;
  transition: all 0.3s ease;
  position: relative;
}

header.scrolled .mobile-menu-toggle {
  position: relative;
  z-index: 9999999;
  backdrop-filter: none;
  isolation: isolate;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

header.scrolled .mobile-menu-toggle span {
  background: var(--text-primary);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-toggle.active span {
  background: white;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateY(-30px);
  transition: transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
}

/* Close Button - Ẩn đi vì đã có hamburger toggle thành X */
.mobile-menu-close {
  display: none;
}

/* Mobile Search Button */
.mobile-search-wrapper {
  width: 100%;
  max-width: 400px;
  margin-bottom: 40px;
}

.mobile-search-btn {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 18px 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-search-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.mobile-search-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile Navigation Menu */
.mobile-menu-content nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu a {
  display: block;
  padding: 20px 25px;
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.mobile-nav-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.mobile-nav-menu a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.mobile-nav-menu a:hover::before {
  width: 20px;
}

.mobile-nav-menu .current-menu-item a,
.mobile-nav-menu .current_page_item a {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .search-popup-content {
    padding: 30px 20px;
    width: 95%;
    max-width: 95%;
    margin: 0;
    border-radius: 15px;
  }

  .search-popup-header h2 {
    font-size: 1.5rem;
  }
  
  .search-popup-header p {
    font-size: 0.9rem;
  }

  .search-type-tabs {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .search-type-tab {
    flex: 1;
    max-width: none;
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .search-type-tab i {
    font-size: 1.1rem;
  }
  
  .search-type-tab span {
    display: inline;
  }
  
  /* Search Input - Fix overflow */
  .search-input-wrapper {
    width: 100%;
  }
  
  .search-popup-input {
    width: 100%;
    padding: 15px 55px 15px 20px;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .search-submit-btn {
    right: 5px;
    width: 40px;
    height: 40px;
  }
  
  .search-submit-btn svg {
    width: 18px;
    height: 18px;
  }

  .search-result-item {
    flex-direction: column;
  }

  .search-result-thumbnail {
    width: 100%;
  }
  
  /* Show mobile menu, hide desktop menu */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-center {
    display: none;
  }
  
  .desktop-search {
    display: none;
  }
  
  .mobile-menu-overlay {
    display: block;
  }
}

/* Responsive - Smaller mobile */
@media (max-width: 480px) {
  .search-popup-content {
    padding: 25px 15px;
    width: 96%;
    max-width: 96%;
  }
  
  .search-popup-close {
    top: 15px;
    right: 15px;
    font-size: 30px;
    width: 36px;
    height: 36px;
  }
  
  .search-popup-header {
    margin-bottom: 25px;
  }
  
  .search-popup-header h2 {
    font-size: 1.3rem;
  }
  
  .search-popup-header p {
    font-size: 0.85rem;
  }
  
  .search-type-tabs {
    gap: 8px;
    margin-bottom: 25px;
  }
  
  .search-type-tab {
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
  
  .search-type-tab i {
    font-size: 1rem;
  }
  
  .search-input-wrapper {
    margin-bottom: 25px;
  }
  
  .search-popup-input {
    padding: 13px 50px 13px 18px;
    font-size: 0.95rem;
  }
  
  .search-submit-btn {
    width: 38px;
    height: 38px;
    right: 4px;
  }
  
  .search-submit-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .search-results {
    max-height: 350px;
  }
  
  .search-result-item {
    padding: 12px;
  }
  
  .search-result-title {
    font-size: 1rem;
  }
  
  .search-result-excerpt {
    font-size: 0.85rem;
  }
  
  .mobile-menu-content {
    padding: 70px 20px 30px;
  }
  
  .mobile-search-btn {
    font-size: 1rem;
    padding: 15px 25px;
  }
  
  .mobile-nav-menu a {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
  
  .mobile-menu-close {
    top: 15px;
    right: 15px;
    font-size: 40px;
    width: 45px;
    height: 45px;
  }
}

/* Responsive - Extra small mobile */
@media (max-width: 360px) {
  .search-popup-content {
    padding: 20px 12px;
    width: 98%;
  }
  
  .search-popup-header h2 {
    font-size: 1.2rem;
  }
  
  .search-type-tabs {
    flex-direction: column;
    gap: 8px;
  }
  
  .search-type-tab {
    width: 100%;
    max-width: 100%;
  }
  
  .search-popup-input {
    font-size: 0.9rem;
    padding: 12px 48px 12px 16px;
  }
  
  .search-submit-btn {
    width: 36px;
    height: 36px;
  }
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.slide-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 1200px;
  padding: 80px 20px 0 20px;
}

.slide-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  width: calc(100% - 80px);
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}

.prev-btn, .next-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 2rem;
  padding: 15px 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active, .dot:hover {
  background: white;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 2.5rem;
  }
  
  .slide-content p {
    font-size: 1.1rem;
  }
  
  .slider-controls {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
  }
  
  .prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* Team Section */
.section-team {
  background: white;
  padding: 40px 0;
  overflow: hidden;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.team-header-left {
  flex: 1;
}

.team-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.team-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
}

.team-header-right {
  display: flex;
  gap: 15px;
}

.team-nav-btn {
  width: 50px;
  height: 50px;
  border: 2px solid #ddd;
  background: white;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.team-nav-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f8f9fa;
}

.team-slider {
  overflow: hidden;
  margin-bottom: 50px;
}

.team-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  padding: 20px 0;
}

.team-member-card {
  flex: 0 0 calc((100% - 90px) / 4);
  min-width: 250px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.team-member-card.active {
  transform: scale(1.05);
}

.team-member-image {
  position: relative;
  margin-bottom: 15px;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-image img {
  transform: scale(1.05);
}

.team-member-social {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card.active .team-member-social {
  opacity: 1;
}

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

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon.twitter {
  background: #1da1f2;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.youtube {
  background: #ff0000;
}

.team-member-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.team-member-role {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

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

.team-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-style: italic;
}

.team-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-primary);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.team-cta-btn:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
  .team-member-card {
    flex: 0 0 calc((100% - 60px) / 3);
  }
}

@media (max-width: 768px) {
  .team-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .team-title {
    font-size: 2rem;
  }
  
  .section-team {
    overflow: hidden;
  }
  
  .team-slider {
    overflow: hidden;
    margin: 0 -15px;
  }
  
  .team-track {
    gap: 15px;
    padding: 20px 15px;
  }
  
  .team-member-card {
    flex: 0 0 calc(50% - 8px);
    min-width: 140px;
    max-width: 160px;
  }
  
  .team-member-image {
    aspect-ratio: 3/4;
    height: auto;
    margin-bottom: 8px;
  }
  
  .team-member-info h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  
  .team-member-role {
    font-size: 0.75rem;
  }
  
  .team-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .section-team {
    overflow: hidden;
  }
  
  .team-slider {
    margin: 0 -10px;
  }
  
  .team-track {
    gap: 12px;
    padding: 20px 10px;
  }
  
  .team-member-card {
    flex: 0 0 calc(50% - 6px);
    min-width: 130px;
    max-width: 150px;
  }
  
  .team-member-image {
    aspect-ratio: 3/4;
    height: auto;
    margin-bottom: 6px;
  }
  
  .team-member-info h3 {
    font-size: 0.85rem;
    margin-bottom: 3px;
  }
  
  .team-member-role {
    font-size: 0.7rem;
  }
}

/* Partners & Testimonials Section */
#partners {
  position: relative;
  color: white;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 100px 0;
  overflow: hidden;
  min-height: 650px;
}

#partners .container {
  position: relative;
  z-index: 10;
}

.testimonial-section {
  text-align: center;
  position: relative;
  margin-bottom: 200px;
}

.quote-icon {
  margin-bottom: 40px;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-text {
  font-size: 1.8rem;
  line-height: 1.6;
  font-style: italic;
  color: white;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Testimonial Author with Avatar */
.testimonial-author-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-author {
  margin-top: 0;
  text-align: left;
}

.testimonial-author h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.author-title {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.testimonial-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.testimonial-nav-btn {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
}

.testimonial-nav-btn:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}

/* Partner Logos Slider Mode */
.partners-logos.slider {
  display: flex;
  overflow: hidden;
  position: relative;
  gap: 0;
}

.partners-logos.slider .partner-logo {
  flex: 0 0 auto;
  margin: 0 30px;
  animation: partnerScroll 30s linear infinite;
}

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

.partners-logos.slider:hover .partner-logo {
  animation-play-state: paused;
}

.partner-logo {
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.15);
}

.partner-logo a {
  display: block;
  text-decoration: none;
}

.partner-logo img {
  max-width: 180px;
  max-height: 90px;
  width: auto;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) invert(1) brightness(2);
  -webkit-filter: brightness(0) saturate(100%) invert(1) brightness(2);
}

.partner-logo:hover img {
  transform: scale(1.15);
}

/* Background Avatar (from Hero Slider or ACF) */
.testimonial-bg-avatar {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 600px;
  height: 700px;
  opacity: 0.15;
  overflow: hidden;
  border-radius: 30px 0 0 0;
  pointer-events: none;
  z-index: 5;
  display: block;
}

.testimonial-bg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: grayscale(30%);
}

@media (max-width: 1200px) {
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .testimonial-bg-avatar {
    width: 400px;
    height: 500px;
  }
  
  .testimonial-author-avatar {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 15px;
  }
  
  .partner-logo img {
    max-width: 100%;
    max-height: 60px;
  }
  
  .testimonial-navigation {
    position: static;
    transform: none;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .testimonial-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .testimonial-bg-avatar {
    display: none;
  }
  
  .testimonial-author-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  
  .testimonial-author {
    text-align: center;
  }
  
  #partners {
    padding: 60px 0;
  }
  
  .testimonial-section {
    margin-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .testimonial-text {
    font-size: 1.2rem;
  }
  
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 10px;
  }
  
  .partner-logo img {
    max-width: 100%;
    max-height: 50px;
  }
  
  .partner-logo svg {
    width: 100px;
    height: 50px;
  }
}

/* Gallery Grid Section */
#gallery {
  height: 70vh;
  overflow: hidden;
}

.gallery-grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  height: 70vh;
  gap: 0;
}

.gallery-large {
  position: relative;
  overflow: hidden;
}

.gallery-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  opacity: 1; /* Cho fade effect */
}

.gallery-large:hover img {
  transform: scale(1.02);
}

.gallery-overlay {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
}

.gallery-badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-badge.live {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.gallery-small-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  overflow: hidden;
  position: relative;
}

.gallery-small-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-small-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  filter: grayscale(30%) brightness(0.8);
  opacity: 1; /* Cho fade effect */
}

.gallery-small-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0%) brightness(1);
}

.gallery-small-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.gallery-small-item:hover::before {
  opacity: 0;
}

/* Gallery Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

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

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.lightbox-caption {
  color: white;
  font-size: 1.1rem;
  text-align: center;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  max-width: 600px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  font-weight: 300;
  z-index: 10000;
  transition: all 0.3s ease;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  padding: 20px 25px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10000;
  line-height: 1;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 40px;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    font-size: 35px;
    padding: 15px 20px;
    width: 55px;
    height: 55px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-content {
    max-width: 95%;
  }
  
  .lightbox-caption {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

@media (max-width: 1024px) {
  .gallery-grid-container {
    grid-template-columns: 3fr 2fr;
  }
}

@media (max-width: 768px) {
  #gallery {
    height: auto;
    min-height: auto;
    padding: 60px 0;
  }
  
  .gallery-grid-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 0 15px;
  }
  
  .gallery-large {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .gallery-small-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
  }
  
  .gallery-small-item {
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
  }
  
  .gallery-overlay {
    top: 15px;
    left: 15px;
  }
  
  .gallery-badge {
    padding: 6px 14px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  #gallery {
    padding: 50px 0;
  }
  
  .gallery-grid-container {
    gap: 8px;
    padding: 0 10px;
  }
  
  .gallery-large {
    height: 220px;
    border-radius: 6px;
  }
  
  .gallery-small-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
  }
  
  .gallery-small-item {
    height: 100px;
    border-radius: 5px;
  }
  
  .gallery-overlay {
    top: 12px;
    left: 12px;
  }
  
  .gallery-badge {
    padding: 5px 12px;
    font-size: 0.65rem;
  }
}

/* Blog Section */
#blog {
  background: white;
  padding: 80px 0;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.blog-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.blog-article {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-article a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-article:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white !important;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 2;
  display: inline-block;
}

.blog-image a.blog-category {
  color: white;
}

.blog-category:hover {
  background: var(--primary-color);
  color: white !important;
  transform: scale(1.05);
}

.blog-content {
  padding: 25px 20px;
}

.blog-article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.blog-article:hover .blog-article-title {
  color: var(--primary-color);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-date {
  color: var(--text-secondary);
}

.blog-author {
  color: var(--text-light);
}

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

.blog-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary-color);
  padding: 15px 30px;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-view-all:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .blog-header {
    margin-bottom: 40px;
  }
  
  .blog-subtitle {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  
  .blog-title {
    font-size: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
  }
  
  .blog-image {
    aspect-ratio: 4/3;
    height: auto;
  }
  
  .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .blog-content {
    padding: 12px 10px;
  }
  
  .blog-article-title {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  
  .blog-category {
    font-size: 0.65rem;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
  }
  
  .blog-meta {
    font-size: 0.7rem;
    gap: 10px;
  }
  
  .blog-view-all {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .blog-subtitle {
    font-size: 0.7rem;
  }
  
  .blog-title {
    font-size: 1.3rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .blog-image {
    aspect-ratio: 1/1;
  }
  
  .blog-category {
    font-size: 0.6rem;
    padding: 3px 7px;
    top: 6px;
    left: 6px;
  }
  
  .blog-content {
    padding: 10px 8px;
  }
  
  .blog-article-title {
    font-size: 0.8rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  
  .blog-meta {
    font-size: 0.65rem;
    gap: 8px;
  }
  
  .blog-view-all {
    padding: 8px 18px;
    font-size: 0.8rem;
  }
}

/* Footer Section */
.main-footer {
  background: #1a1a1a;
  color: white;
  padding: 80px 0 40px;
  position: relative;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23333" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23333" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23333" opacity="0.15"/><circle cx="20" cy="80" r="0.5" fill="%23333" opacity="0.15"/><circle cx="80" cy="20" r="0.5" fill="%23333" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

/* Left Column - Brand */
.footer-brand .footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
  margin: 0 0 20px 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.footer-brand .footer-copyright {
  color: #999;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
  text-align: left;
}

/* Middle Column - Contact */
.footer-contact .footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
}

.footer-contact-item a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: white;
}

/* Right Column - Social */
.footer-social .footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 60px 0 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: left;
  }
  
  .footer-brand .footer-logo {
    font-size: 1.8rem;
  }
  
  .footer-contact-item {
    justify-content: flex-start;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  .footer-title {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .footer-brand .footer-logo {
    font-size: 1.5rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* ============================================
   ADMIN STYLES - Hero Slider Manager
   ============================================ */

/* Admin Column Styling */
.post-type-hero_slider .widefat thead th,
.post-type-hero_slider .widefat tfoot th {
  background: #f0f0f1;
  font-weight: 600;
}

.post-type-hero_slider .widefat tbody tr:hover {
  background: #f6f7f7;
}

/* ACF Field Enhancements */
.acf-field[data-name="slide_background"] {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.acf-field[data-name="slide_background"] .acf-label {
  font-size: 14px;
  font-weight: 600;
  color: #1d2327;
}

.acf-field[data-name="slide_title"] input,
.acf-field[data-name="slide_button_text"] input {
  font-size: 16px;
  padding: 10px;
}

.acf-field[data-name="slide_description"] textarea {
  font-size: 14px;
  line-height: 1.6;
}

/* ACF Pro Field Group Styling */
.acf-field-group-pro .acf-field {
  margin-bottom: 20px;
}

/* Admin Notice Custom Styling */
.post-type-hero_slider .notice-info {
  border-left: 4px solid #00a0d2;
  background: #e5f5fa;
}

.post-type-hero_slider .notice-info h3 {
  color: #0073aa;
}

/* Featured Image Box Enhancement */
#postimagediv {
  background: #f9f9f9;
  border: 1px solid #ddd;
}

/* Admin Table Responsive */
@media screen and (max-width: 782px) {
  .post-type-hero_slider .wp-list-table td.column-thumbnail {
    display: table-cell !important;
  }
}

/* ============================================
   DEFAULT PAGE STYLES
   ============================================ */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.9) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.page-breadcrumb a:hover {
  color: white;
}

.page-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.page-breadcrumb .current {
  color: white;
  font-weight: 600;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Page Content Section */
.page-content-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.page-article {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-content-wrapper {
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-content-wrapper h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 2em 0 1em 0;
  color: var(--text-primary);
  padding-bottom: 0.5em;
  border-bottom: 3px solid var(--primary-color);
}

.page-content-wrapper h2:first-child {
  margin-top: 0;
}

.page-content-wrapper h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 1.8em 0 0.8em 0;
  color: var(--text-primary);
}

.page-content-wrapper h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5em 0 0.7em 0;
  color: var(--text-primary);
}

.page-content-wrapper p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1.5em;
}

.page-content-wrapper ul,
.page-content-wrapper ol {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 1.5em 0;
  padding-left: 2em;
}

.page-content-wrapper li {
  margin-bottom: 0.8em;
  line-height: 1.7;
}

.page-content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2em 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-content-wrapper blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1.5em 2em;
  margin: 2em 0;
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.page-content-wrapper a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-content-wrapper a:hover {
  color: var(--primary-hover);
}

.page-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 1rem;
}

.page-content-wrapper table th,
.page-content-wrapper table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.page-content-wrapper table th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.page-content-wrapper table tr:nth-child(even) {
  background: #f8f9fa;
}

/* Responsive Design - Page */
@media (max-width: 968px) {
  .page-hero {
    padding: 100px 0 60px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-content-wrapper {
    padding: 40px;
  }
  
  .page-content-wrapper h2 {
    font-size: 1.8rem;
  }
  
  .page-content-wrapper h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 120px 0 60px;
  }
  
  .page-hero-content {
    padding: 0 20px;
  }
  
  .page-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .page-breadcrumb {
    font-size: 0.75rem;
    gap: 6px;
    margin-bottom: 15px;
  }
  
  .page-content-section {
    padding: 40px 0;
  }
  
  .page-content-wrapper {
    padding: 30px 20px;
  }
  
  .page-content-wrapper h2 {
    font-size: 1.5rem;
    margin: 1.5em 0 0.8em 0;
    padding-bottom: 0.3em;
  }
  
  .page-content-wrapper h3 {
    font-size: 1.2rem;
    margin: 1.3em 0 0.6em 0;
  }
  
  .page-content-wrapper h4 {
    font-size: 1.1rem;
    margin: 1.2em 0 0.5em 0;
  }
  
  .page-content-wrapper p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2em;
  }
  
  .page-content-wrapper ul,
  .page-content-wrapper ol {
    font-size: 0.95rem;
    margin: 1.2em 0;
    padding-left: 1.5em;
  }
  
  .page-content-wrapper li {
    margin-bottom: 0.6em;
  }
  
  .page-content-wrapper img {
    margin: 1.5em 0;
  }
  
  .page-content-wrapper blockquote {
    padding: 1em 1.2em;
    margin: 1.5em 0;
    font-size: 0.9rem;
  }
  
  .page-content-wrapper table {
    font-size: 0.85rem;
  }
  
  .page-content-wrapper table th,
  .page-content-wrapper table td {
    padding: 8px 10px;
  }
}

/* ============================================
   PORTFOLIO PAGE STYLES
   ============================================ */

/* Portfolio Hero */
.portfolio-hero {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.9) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
}

.portfolio-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.portfolio-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.portfolio-breadcrumb a:hover {
  color: white;
}

.portfolio-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.portfolio-breadcrumb .current {
  color: white;
  font-weight: 600;
}

.portfolio-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Portfolio Section */
.portfolio-section {
  background: #f8f9fa;
  padding: 60px 0 80px;
}

/* Book Mode Full Width */
.portfolio-section.book-mode-active .container {
  max-width: 100%;
  padding: 0 40px;
}

.portfolio-section.book-mode-active .portfolio-viewer {
  max-width: 100%;
  padding: 0;
}

.portfolio-section.book-mode-active .book-mode {
  width: 100%;
  max-width: 100%;
}

/* Portfolio Controls */
.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.view-mode-toggle {
  display: flex;
  gap: 8px;
  background: #f8f9fa;
  padding: 4px;
  border-radius: 8px;
}

.view-mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-mode-btn:hover {
  background: white;
  color: var(--text-primary);
}

.view-mode-btn.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(199, 37, 56, 0.3);
}

.view-mode-btn svg {
  width: 18px;
  height: 18px;
}

.portfolio-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-counter {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.current-page {
  color: var(--primary-color);
}

.zoom-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zoom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zoom-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(199, 37, 56, 0.05);
}

.zoom-btn svg {
  width: 18px;
  height: 18px;
}

.zoom-level {
  min-width: 50px;
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(199, 37, 56, 0.2);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(199, 37, 56, 0.3);
  color: white;
}

.download-btn svg {
  width: 18px;
  height: 18px;
}

/* Portfolio Viewer */
.portfolio-viewer {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 600px;
}

#pdfContainer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

#pdfContainer.single-mode {
  flex-direction: column;
}

/* Single Mode - PDF Pages */
.page-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 15px;
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 20px;
  text-align: center;
}

.page-label:first-child {
  margin-top: 0;
}

.pdf-page {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: block;
  border: 1px solid #e0e0e0;
}

.portfolio-viewer canvas {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   ALBUM GALLERY STYLES
   =========================================== */

/* Albums List Page Hero */
.albums-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  color: white;
  text-align: center;
}

.albums-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.albums-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.albums-breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.albums-breadcrumb a:hover {
  opacity: 0.7;
}

.albums-breadcrumb .current {
  font-weight: 600;
}

.albums-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.albums-description {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Albums Grid */
.albums-section {
  padding: 80px 0;
  background: #f8f9fa;
}

/* Albums Category Filter */
.albums-section .category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}

.albums-section .category-btn {
  padding: 10px 24px;
  background: white;
  color: #2d3748;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.albums-section .category-btn:hover {
  background: var(--primary-color, #ff6b35);
  color: white;
  border-color: var(--primary-color, #ff6b35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.albums-section .category-btn.active {
  background: var(--primary-color, #ff6b35);
  color: white;
  border-color: var(--primary-color, #ff6b35);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.albums-section .category-btn .count {
  opacity: 0.7;
  font-weight: 500;
  font-size: 0.9em;
}

/* Album Detail Page - Category Tags */
.album-hero .album-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 15px;
}

.album-hero .album-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f8f9fa;
  color: #2d3748;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.album-hero .album-category-tag svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.album-hero .album-category-tag:hover {
  background: var(--primary-color, #ff6b35);
  color: white;
  border-color: var(--primary-color, #ff6b35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.album-hero .album-category-tag:hover svg {
  opacity: 1;
}

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

.album-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.album-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.album-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.album-cover {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #e9ecef;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.album-card:hover .album-cover img {
  transform: scale(1.1);
}

.album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
  opacity: 1;
}

.album-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: flex-start;
}

.album-count {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.album-count svg {
  width: 18px;
  height: 18px;
}

.view-album-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: #333;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.view-album-btn:hover {
  background: var(--primary-color, #ff6b35);
  color: white;
  transform: translateX(5px);
}

.album-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #adb5bd;
}

.album-info {
  padding: 20px;
}

.album-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2d3748;
}

.album-desc {
  font-size: 0.95rem;
  color: #718096;
  line-height: 1.5;
  margin: 0;
}

/* No Albums Message */
.no-albums {
  text-align: center;
  padding: 80px 20px;
  color: #718096;
}

.no-albums svg {
  margin-bottom: 20px;
  opacity: 0.3;
}

.no-albums h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 10px;
}

.no-albums p {
  font-size: 1rem;
  margin: 0;
}

/* Album Detail Page Hero */
.album-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  color: white;
  text-align: center;
}

.album-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.album-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.album-breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.album-breadcrumb a:hover {
  opacity: 0.7;
}

.album-breadcrumb .current {
  font-weight: 600;
}

.album-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.album-description {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.album-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.album-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  font-weight: 600;
}

.album-stats .stat-item svg {
  width: 18px;
  height: 18px;
}

/* Album Gallery Grid */
.album-gallery-section {
  padding: 80px 0;
  background: #fff;
}

.album-gallery-section .container {
  max-width: 100%;
  padding: 0 40px;
}

.album-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  background: #e9ecef;
  cursor: pointer;
}

.gallery-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.video-item .gallery-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 100%);
  align-items: center;
  justify-content: center;
}

.video-item:hover .gallery-overlay {
  opacity: 1;
}

.play-video-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.play-video-btn svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.play-video-btn:hover svg {
  transform: scale(1.15);
}

.video-title {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  margin-top: auto;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: #333;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.view-btn:hover {
  background: var(--primary-color, #ff6b35);
  color: white;
}

.image-caption {
  color: white;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

/* No Images Message */
.no-images {
  text-align: center;
  padding: 80px 20px;
  color: #718096;
}

.no-images svg {
  margin-bottom: 20px;
  opacity: 0.3;
}

.no-images h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 10px;
}

.no-images p {
  font-size: 1rem;
  margin: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10002;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10002;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
  text-align: center;
  color: white;
}

.lightbox-counter {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.lightbox-caption {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10002;
  backdrop-filter: blur(10px);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.video-modal-content {
  width: 90%;
  max-width: 1200px;
  position: relative;
  z-index: 10001;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

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

/* Back to Albums Button */
.back-to-albums {
  margin-top: 60px;
  text-align: center;
  padding-bottom: 20px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color, #ff6b35);
  color: white;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.back-btn:hover {
  background: #e55a2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.back-btn svg {
  transition: transform 0.3s ease;
}

.back-btn:hover svg {
  transform: translateX(-5px);
}

/* ===========================================
   RESPONSIVE DESIGN - ALBUMS
   =========================================== */

/* Large Desktop */
@media (min-width: 1600px) {
  .album-gallery-section .container {
    max-width: 100%;
    padding: 0 60px;
  }
  
  .album-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
}

/* Tablet */
@media (max-width: 968px) {
  .albums-title,
  .album-title {
    font-size: 2.5rem;
  }
  
  .album-gallery-section .container {
    padding: 0 30px;
  }
  
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .album-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }
  
  .lightbox-prev {
    left: 15px;
  }
  
  .lightbox-next {
    right: 15px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .albums-hero,
  .album-hero {
    padding: 100px 0 60px;
  }
  
  .albums-title,
  .album-title {
    font-size: 2rem;
  }
  
  .albums-description,
  .album-description {
    font-size: 1rem;
  }
  
  .album-description p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 18px;
  }
  
  .albums-section,
  .album-gallery-section {
    padding: 60px 0;
  }
  
  .album-gallery-section .container {
    padding: 0 20px;
  }
  
  .albums-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .album-cover {
    height: 140px;
  }
  
  .album-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }
  
  .gallery-item {
    border-radius: 8px;
  }
  
  .lightbox-nav {
    width: 50px;
    height: 50px;
  }
  
  .lightbox-nav svg {
    width: 28px;
    height: 28px;
  }
  
  .album-stats {
    gap: 12px;
    margin-top: 15px;
  }
  
  .album-stats .stat-item {
    padding: 8px 16px;
    font-size: 0.85rem;
    gap: 6px;
  }
  
  .album-stats .stat-item svg {
    width: 16px;
    height: 16px;
  }
  
  .album-hero .album-categories {
    gap: 8px;
    margin-top: 15px;
  }
  
  .album-hero .album-category-tag {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 4px;
  }
  
  .album-hero .album-category-tag svg {
    width: 14px;
    height: 14px;
  }
  
  .lightbox-close {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }
  
  .lightbox-close svg {
    width: 24px;
    height: 24px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .video-modal-close {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }
  
  .video-modal-close svg {
    width: 24px;
    height: 24px;
  }
  
  .video-modal-content {
    width: 95%;
  }
  
  .play-video-btn svg {
    width: 56px;
    height: 56px;
  }
  
  .video-title {
    font-size: 0.9rem;
  }
  
  .album-counts {
    gap: 8px;
  }
  
  .album-count {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  
  .album-count svg {
    width: 16px;
    height: 16px;
  }
  
  .back-to-albums {
    margin-top: 40px;
  }
  
  .back-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .albums-section .category-filter {
    gap: 8px;
    margin-bottom: 30px;
  }
  
  .albums-section .category-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  
  .albums-breadcrumb,
  .album-breadcrumb {
    font-size: 0.8rem;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .album-breadcrumb span.current {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .albums-title,
  .album-title {
    font-size: 1.75rem;
  }
  
  .album-name {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
  }
  
  .album-desc {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .album-info {
    padding: 15px;
  }
  
  .view-album-btn,
  .view-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    gap: 6px;
  }
  
  .view-album-btn svg,
  .view-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .album-count {
    font-size: 0.8rem;
    padding: 6px 12px;
    gap: 6px;
  }
  
  .album-count svg {
    width: 16px;
    height: 16px;
  }
}

/* Albums Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: white;
  color: #2d3748;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pagination a:hover {
  background: var(--primary-color, #ff6b35);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagination .current {
  background: var(--primary-color, #ff6b35);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagination .dots {
  background: transparent;
  box-shadow: none;
  color: #718096;
}

@media (max-width: 480px) {
  .pagination a,
  .pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 0.9rem;
  }
}

/* Portfolio Navigation */
.portfolio-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(199, 37, 56, 0.3);
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #ddd;
  color: #999;
}

.nav-btn svg {
  width: 20px;
  height: 20px;
}

.page-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-input-group label {
  font-weight: 600;
  color: var(--text-primary);
}

.page-input-group input {
  width: 70px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-size: 1rem;
}

.page-input-group button {
  padding: 8px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-input-group button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* No Portfolio State */
.no-portfolio {
  background: white;
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.no-portfolio svg {
  color: #ddd;
  margin-bottom: 20px;
}

.no-portfolio h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 0 0 15px 0;
}

.no-portfolio p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Design - Portfolio */
/* Large Desktop - Book Mode */
@media (min-width: 1600px) {
  .portfolio-section.book-mode-active .container {
    max-width: 100%;
    padding: 0 60px;
  }
}

@media (max-width: 968px) {
  .portfolio-hero {
    padding: 100px 0 60px;
  }
  
  .portfolio-title {
    font-size: 2.5rem;
  }
  
  .portfolio-section.book-mode-active .container {
    padding: 0 30px;
  }
  
  .portfolio-controls {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  
  .view-mode-toggle,
  .portfolio-info,
  .zoom-controls {
    justify-content: center;
  }
  
  .portfolio-viewer {
    padding: 20px;
    min-height: 500px;
  }
  
  .portfolio-nav {
    flex-direction: column;
  }
  
  .nav-btn {
    width: 100%;
    justify-content: center;
  }
  
  .book-spread {
    flex-direction: column;
    gap: 20px;
  }
  
  .book-page {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 640px) {
  .portfolio-hero {
    padding: 120px 0 60px;
  }
  
  .portfolio-hero-content {
    padding: 0 20px;
  }
  
  .portfolio-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .portfolio-description {
    font-size: 0.95rem;
  }
  
  .portfolio-breadcrumb {
    font-size: 0.75rem;
    gap: 6px;
    margin-bottom: 15px;
  }
  
  .portfolio-section {
    padding: 40px 0 60px;
  }
  
  .portfolio-controls {
    padding: 15px;
    gap: 15px;
  }
  
  .view-mode-toggle {
    width: 100%;
  }
  
  .view-mode-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .view-mode-btn span {
    display: none;
  }
  
  .portfolio-info {
    width: 100%;
    justify-content: center;
  }
  
  .page-counter {
    font-size: 1rem;
  }
  
  .zoom-controls {
    width: 100%;
    justify-content: center;
  }
  
  .zoom-btn {
    width: 36px;
    height: 36px;
  }
  
  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  
  .portfolio-viewer {
    padding: 15px;
    min-height: 400px;
  }
  
  .portfolio-section.book-mode-active .container {
    padding: 0 20px;
  }
  
  .book-spread {
    flex-direction: column;
    gap: 15px;
  }
  
  .book-page {
    width: 100%;
  }
  
  .book-page.left-page,
  .book-page.right-page {
    border: 1px solid #ddd;
    transform: none !important;
  }
  
  .portfolio-nav {
    padding: 15px;
    gap: 15px;
  }
  
  .nav-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .nav-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .page-input-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  
  .page-input-group label {
    font-size: 0.9rem;
  }
  
  .page-input-group input {
    width: 100%;
  }
  
  .page-input-group button {
    width: 100%;
    padding: 10px;
  }
  
  .no-portfolio {
    padding: 60px 20px;
  }
  
  .no-portfolio svg {
    width: 60px;
    height: 60px;
  }
  
  .no-portfolio h3 {
    font-size: 1.4rem;
  }
  
  .no-portfolio p {
    font-size: 0.95rem;
  }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero */
.contact-hero {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.9) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 160px;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

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

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  position: relative;
  z-index: 1;
}

.contact-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

/* Contact Info Box */
.contact-info-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info-box h2 {
  font-size: 2rem;
  margin: 0 0 30px 0;
  color: #1a1a1a;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.info-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-sm);
}

.info-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.info-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.info-content a:hover {
  color: var(--primary-dark);
}

/* Contact Social */
.contact-social {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.contact-social h3 {
  font-size: 1.2rem;
  margin: 0 0 20px 0;
  color: var(--text-primary);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links .social-link {
  padding: 0px 0px;
  background: #f5f5f5;
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.social-links .social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Contact Form Box */
.contact-form-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-box h2 {
  font-size: 2rem;
  margin: 0 0 30px 0;
  color: #1a1a1a;
}

/* Form Messages */
.form-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-message svg {
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.required {
  color: #dc3545;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group select option {
  padding: 10px;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Submit Button */
.submit-btn {
  background: var(--gradient-primary);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

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

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

.submit-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.submit-btn.loading .btn-text:after {
  content: '...';
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Contact Map */
.contact-map {
  width: 100%;
  height: 450px;
  margin-top: 0;
}

.map-container {
  width: 100%;
  height: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 968px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-hero h1 {
    font-size: 2.2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 120px 0 60px;
  }
  
  .contact-hero-content {
    padding: 0 20px;
  }
  
  .contact-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .contact-hero p {
    font-size: 0.95rem;
  }
  
  .contact-section {
    padding: 40px 0;
  }
  
  .contact-layout {
    gap: 25px;
  }
  
  .contact-info-box,
  .contact-form-box {
    padding: 25px 15px;
    border-radius: 8px;
  }
  
  .contact-info-box h2,
  .contact-form-box h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .info-item {
    flex-direction: row;
    gap: 12px;
    padding: 15px 0;
  }
  
  .info-icon {
    min-width: 45px;
    width: 45px;
    height: 45px;
  }
  
  .info-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .info-content h3 {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }
  
  .info-content p,
  .info-content a {
    font-size: 0.85rem;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
  
  .form-group textarea {
    min-height: 120px;
  }
  
  .form-row {
    gap: 15px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .map-section {
    padding: 40px 0;
  }
  
  .map-container {
    height: 300px;
    border-radius: 8px;
  }
}

/* ============================================
   FEATURED SERVICES ARCHIVE PAGE
   ============================================ */

/* Archive Hero */
.archive-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0 80px;
  text-align: center;
  color: white;
  position: relative;
}

.archive-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.archive-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
}

.archive-description {
  font-size: 1.3rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 300;
}

/* Archive Services Section */
.archive-services-section {
  padding: 80px 0;
  background: #f8f9fa;
}

/* Services Grid - 4 Columns */
.services-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Service Card */
.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Service Card Image */
.service-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

/* Media Badges */
.service-media-badges {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.gallery-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-badge {
  border: 1px solid rgba(255, 0, 0, 0.3);
  background: rgba(255, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.video-badge i {
  color: #ff0000;
}

/* Service Card Content */
.service-card-content {
  padding: 25px 20px;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
  color: var(--primary-color);
}

.service-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
}

.service-card-footer {
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.service-card-link-text {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-link-text {
  gap: 12px;
}

.service-card-link-text i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-link-text i {
  transform: translateX(5px);
}

/* Pagination */
.archive-pagination {
  text-align: center;
  margin-top: 60px;
}

.pagination-list {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-list li {
  display: inline-block;
}

.pagination-list a,
.pagination-list .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: white;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.pagination-list a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(199, 37, 56, 0.05);
  transform: translateY(-2px);
}

.pagination-list .current {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.pagination-list .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  color: var(--text-light);
}

/* No Services Found */
.no-services-found {
  text-align: center;
  padding: 80px 20px;
}

.no-services-icon {
  font-size: 5rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.no-services-found h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.no-services-found p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Responsive - Archive */
@media (max-width: 1200px) {
  .services-grid-4col {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 968px) {
  .archive-title {
    font-size: 2.2rem;
  }
  
  .archive-description {
    font-size: 1.1rem;
  }
  
  .services-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .archive-services-section {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .archive-hero {
    padding: 120px 0 60px;
  }
  
  .archive-title {
    font-size: 1.8rem;
  }
  
  .services-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .service-media-badges {
    top: 10px;
    right: 10px;
    gap: 6px;
  }
  
  .media-badge {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

/* ============================================
   FEATURED SERVICE SINGLE PAGE
   ============================================ */

/* Service Detail Hero */
.service-detail-hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  color: white;
  overflow: hidden;
}

.service-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.7);
}

.service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.7) 100%);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* Breadcrumb */
.service-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.service-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.service-breadcrumb a:hover {
  color: white;
}

.service-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.service-breadcrumb .current {
  color: white;
  font-weight: 600;
}

.service-detail-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
  line-height: 1.1;
}

.service-detail-excerpt {
  font-size: 1.3rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.6;
}

/* Service Detail Section */
.service-detail-section {
  padding: 80px 0;
  background: white;
}

/* Service Description */
.service-description-wrapper {
  max-width: 900px;
  margin: 0 auto 80px;
}

.service-description {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.service-description.collapsed {
  max-height: 400px;
}

.service-description.expanded {
  max-height: none;
}

.service-description.collapsed .description-fade {
  opacity: 1;
  pointer-events: auto;
}

.service-description.expanded .description-fade {
  opacity: 0;
  pointer-events: none;
}

.description-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 100%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.description-toggle-wrapper {
  text-align: center;
  margin-top: 30px;
}

.btn-toggle-description {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.btn-toggle-description:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.service-description h2,
.service-description h3,
.service-content h2,
.service-content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.service-description p,
.service-content p {
  margin-bottom: 20px;
}

.service-description ul,
.service-description ol,
.service-content ul,
.service-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

/* Section Heading */
.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 40px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.gallery-count,
.video-count {
  display: inline-block;
  padding: 6px 15px;
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: auto;
}

/* Service Gallery Section */
.service-gallery-section {
  margin-bottom: 80px;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-item-overlay i {
  font-size: 2.5rem;
  color: white;
}

/* Service Lightbox */
.service-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.service-lightbox .lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.service-lightbox .lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

/* Service Videos Section */
.service-videos-section {
  margin-bottom: 80px;
}

.service-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.video-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-item:hover .video-thumbnail img {
  opacity: 0.7;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-item:hover .video-play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff0000;
}

.video-play-button i {
  font-size: 2.5rem;
  color: white;
  margin-left: 5px;
}

.video-title {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* Video Popup Modal */
.video-popup-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.video-popup-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  font-weight: 300;
  z-index: 10001;
  transition: all 0.3s ease;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.video-popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.video-popup-content {
  position: relative;
  max-width: 90%;
  width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-popup-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.video-popup-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .video-popup-close {
    top: 10px;
    right: 10px;
    font-size: 40px;
    width: 40px;
    height: 40px;
  }
  
  .video-popup-content {
    max-width: 95%;
  }
  
  .video-popup-title {
    font-size: 1rem;
  }
}

/* Service Navigation */
.service-navigation {
  text-align: center;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px solid #eee;
}

.btn-back-services {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 35px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.btn-back-services i {
  transition: transform 0.3s ease;
}

.btn-back-services:hover i {
  transform: translateX(-5px);
}

/* Responsive - Single Service */
@media (max-width: 1024px) {
  .service-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 968px) {
  .service-detail-title {
    font-size: 2.5rem;
  }
  
  .service-detail-excerpt {
    font-size: 1.1rem;
  }
  
  .service-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .service-detail-hero {
    padding: 120px 0 60px;
  }
  
  .service-hero-content {
    padding: 0 20px;
  }
  
  .service-detail-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .service-detail-excerpt {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .service-breadcrumb {
    font-size: 0.75rem;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  
  .service-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .service-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .video-play-button {
    width: 27px;
    height: 27px;
  }
  
  .video-play-button i {
    font-size: 0.85rem;
    margin-left: 0px;
    margin-top: 3px;
  }
  
  .video-title {
    font-size: 0.75rem;
    padding: 12px;
  }
  
  .section-heading {
    font-size: 1.3rem;
    flex-wrap: wrap;
    margin-bottom: 25px;
  }
  
  .gallery-count,
  .video-count {
    margin-left: 0;
    font-size: 0.85rem;
  }
  
  .service-detail-section {
    padding: 50px 0;
  }
  
  .service-description-wrapper {
    margin-bottom: 50px;
    padding: 0 15px;
  }
  
  .service-content h2,
  .service-description h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  
  .service-content h3,
  .service-description h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 12px;
  }
  
  .service-content p,
  .service-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .service-content ul,
  .service-content ol,
  .service-description ul,
  .service-description ol {
    font-size: 0.95rem;
    padding-left: 25px;
    margin-bottom: 15px;
  }
  
  .service-description.collapsed {
    max-height: 250px;
  }
  
  .btn-toggle-description {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .service-gallery-section,
  .service-videos-section {
    margin-bottom: 40px;
  }
}


/* ============================================
   BLOG ARCHIVE STYLES - Trang danh sách Blog
   ============================================ */

/* Blog Archive Hero */
.blog-archive-hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Blog Archive Section */
.archive-blog-section {
  padding: 40px 0 80px;
  background: #f8f9fa;
}

/* Blog Filter Section */
.blog-filter-section {
  padding: 30px 0 20px;
  background: #f8f9fa;
}

/* Categories Filter Inline */
.categories-filter-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.categories-filter-inline .filter-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 25px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.categories-filter-inline .filter-item:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(199, 37, 56, 0.2);
}

.categories-filter-inline .filter-item.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(199, 37, 56, 0.25);
}

.categories-filter-inline .filter-count {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0;
}

.categories-filter-inline .filter-item:hover .filter-count,
.categories-filter-inline .filter-item.active .filter-count {
  color: white;
}

/* Blog Archive Grid - 3 columns */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Blog Archive Card */
.blog-archive-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-archive-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(199, 37, 56, 0.15);
}

.blog-archive-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Blog Archive Image */
.blog-archive-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.blog-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-archive-card:hover .blog-archive-image img {
  transform: scale(1.1);
}

.blog-archive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-archive-card:hover .blog-archive-overlay {
  opacity: 1;
}

/* Category Badge */
.blog-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(199, 37, 56, 0.3);
  z-index: 2;
}

/* Blog Archive Content */
.blog-archive-content {
  padding: 25px;
}

/* Meta Info */
.blog-archive-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.blog-archive-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-archive-meta i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Title */
.blog-archive-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 15px 0;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.blog-archive-card:hover .blog-archive-title {
  color: var(--primary-color);
}

/* Excerpt */
.blog-archive-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.blog-archive-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.blog-archive-card:hover .blog-read-more {
  gap: 12px;
}

.blog-read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.blog-archive-card:hover .blog-read-more i {
  transform: translateX(3px);
}

/* No Posts Found */
.no-posts-found {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.no-posts-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border-radius: 50%;
}

.no-posts-icon i {
  font-size: 3rem;
  color: var(--text-light);
}

.no-posts-found h2 {
  font-size: 1.8rem;
  margin: 0 0 15px 0;
  color: var(--text-primary);
}

.no-posts-found p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 30px 0;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(199, 37, 56, 0.2);
}

.btn-back-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(199, 37, 56, 0.3);
  color: white;
}

/* Responsive Design - Blog Archive */
@media (max-width: 1200px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .blog-filter-section {
    padding: 20px 0 15px;
  }
  
  .categories-filter-inline {
    gap: 10px;
  }
  
  .categories-filter-inline .filter-item {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .categories-filter-inline .filter-count {
    font-size: 0.8rem;
  }
  
  .archive-blog-section {
    padding: 30px 0 60px;
  }
  
  .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .blog-archive-image {
    height: 118px;
  }
  
  .blog-archive-meta {
    display: none;
  }
  
  .blog-archive-title {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .blog-archive-excerpt {
    font-size: 12px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  
  .no-posts-found {
    padding: 60px 20px;
  }
  
  .no-posts-icon {
    width: 80px;
    height: 80px;
  }
  
  .no-posts-icon i {
    font-size: 2.5rem;
  }
  
  .no-posts-found h2 {
    font-size: 1.5rem;
  }
}


/* ============================================
   SINGLE POST STYLES - Trang chi tiết bài viết
   ============================================ */

/* Post Detail Hero */
.post-detail-hero {
  position: relative;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.post-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6);
}

.post-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(45, 45, 45, 0.75) 100%
  );
}

.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Post Breadcrumb */
.post-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.post-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.post-breadcrumb a:hover {
  color: white;
}

.post-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.post-breadcrumb .current {
  color: white;
  font-weight: 600;
}

/* Category Badge */
.post-category-badge {
  display: inline-block;
  margin-bottom: 20px;
}

.post-category-badge a {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(199, 37, 56, 0.3);
  transition: all 0.3s ease;
}

.post-category-badge a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 37, 56, 0.4);
  color: white;
}

/* Post Title */
.post-detail-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 30px 0;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Post Meta Info */
.post-meta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.post-meta-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-meta-info i {
  color: var(--primary-color);
  font-size: 1rem;
}

/* Post Content Section */
.post-content-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.post-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
}

/* Main Content */
.post-main-content {
  background: white;
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Featured Image */
.post-featured-image {
  width: calc(100% + 100px);
  margin: -50px -50px 40px -50px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.post-content-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.post-content-body p {
  margin-bottom: 1.5em;
}

.post-content-body h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 2em 0 1em 0;
  color: var(--text-primary);
  padding-bottom: 0.5em;
  border-bottom: 3px solid var(--primary-color);
}

.post-content-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.8em 0 0.8em 0;
  color: var(--text-primary);
}

.post-content-body h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1.5em 0 0.7em 0;
  color: var(--text-primary);
}

.post-content-body ul,
.post-content-body ol {
  margin: 1.5em 0;
  padding-left: 2em;
}

.post-content-body li {
  margin-bottom: 0.8em;
  line-height: 1.7;
}

.post-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2em 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-content-body blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1.5em 2em;
  margin: 2em 0;
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.post-content-body code {
  background: #f4f4f4;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #e83e8c;
}

.post-content-body pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 1.5em;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2em 0;
}

.post-content-body pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.post-content-body a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.post-content-body a:hover {
  color: var(--primary-hover);
}

/* Tags Section */
.post-tags-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid var(--border-light);
}

.tags-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-tag {
  display: inline-block;
  padding: 8px 18px;
  background: #f8f9fa;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.post-tag:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Author Box */
.post-author-box {
  margin-top: 50px;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  display: flex;
  gap: 25px;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.author-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Post Navigation */
.post-navigation {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.post-nav-item:hover {
  background: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(199, 37, 56, 0.1);
}

.post-nav-prev {
  text-align: left;
}

.post-nav-next {
  text-align: right;
}

.nav-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-nav-next .nav-label {
  justify-content: flex-end;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-nav-item:hover .nav-title {
  color: var(--primary-color);
}

/* Post Sidebar */
.post-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 25px 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

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

/* Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  margin-bottom: 12px;
}

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

.category-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.category-item a:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateX(5px);
  border-color: var(--primary-color);
}

.category-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.category-count {
  background: white;
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}

.category-item a:hover .category-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Related Posts Widget */
.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.related-post-item {
  margin: 0;
}

.related-post-link {
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.related-post-link:hover {
  background: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(199, 37, 56, 0.1);
}

.related-post-thumbnail {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
}

.related-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-link:hover .related-post-thumbnail img {
  transform: scale(1.1);
}

.related-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-post-link:hover .related-post-title {
  color: var(--primary-color);
}

.related-post-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.related-post-date i {
  color: var(--primary-color);
  font-size: 0.75rem;
}

.no-related-posts {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

/* Responsive Design - Single Post */
@media (max-width: 1200px) {
  .post-content-wrapper {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
  
  .post-main-content {
    padding: 40px;
  }
}

@media (max-width: 968px) {
  .post-content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .post-sidebar {
    position: static;
  }
  
  .post-detail-hero {
    padding: 140px 0 80px;
  }
  
  .post-detail-title {
    font-size: 2.2rem;
  }
  
  .post-meta-info {
    font-size: 0.85rem;
    gap: 15px;
  }
  
  .post-main-content {
    padding: 30px;
  }
  
  .post-content-body {
    font-size: 1rem;
  }
  
  .post-content-body h2 {
    font-size: 1.6rem;
  }
  
  .post-navigation {
    grid-template-columns: 1fr;
  }
  
  .post-nav-next {
    text-align: left;
  }
  
  .post-nav-next .nav-label {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .post-detail-hero {
    padding: 120px 0 60px;
  }
  
  .post-hero-content {
    padding: 0 20px;
  }
  
  .post-detail-title {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .post-breadcrumb {
    font-size: 0.75rem;
    gap: 6px;
    margin-bottom: 15px;
  }
  
  .post-category-badge a {
    padding: 6px 15px;
    font-size: 0.75rem;
  }
  
  .post-meta-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 15px;
    font-size: 0.85rem;
    justify-content: center;
  }
  
  .post-content-section {
    padding: 40px 0;
  }
  
  .post-main-content {
    padding: 20px 15px;
    border-radius: 8px;
  }
  
  .post-featured-image {
    width: calc(100% + 30px);
    margin: -20px -15px 30px -15px;
  }
  
  .post-featured-image img {
    width: 100%;
    height: 252px;
    display: block;
    object-fit: cover;
    object-position: center;
  }
  
  .post-content-body {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .post-content-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
  }
  
  .post-content-body h2 {
    font-size: 1.4rem;
    margin: 1.5em 0 0.8em 0;
    padding-bottom: 0.3em;
  }
  
  .post-content-body h3 {
    font-size: 1.2rem;
    margin: 1.3em 0 0.6em 0;
  }
  
  .post-content-body h4 {
    font-size: 1.1rem;
    margin: 1.2em 0 0.5em 0;
  }
  
  .post-content-body ul,
  .post-content-body ol {
    margin: 1.2em 0;
    padding-left: 1.5em;
  }
  
  .post-content-body li {
    margin-bottom: 0.6em;
  }
  
  .post-content-body img {
    margin: 1.5em 0;
  }
  
  .post-content-body blockquote {
    padding: 1em 1.2em;
    margin: 1.5em 0;
    font-size: 0.9rem;
  }
  
  .post-author-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }
  
  .author-name {
    justify-content: center;
    font-size: 1.1rem;
  }
  
  .author-bio {
    font-size: 0.9rem;
  }
  
  .post-nav-item {
    padding: 15px;
  }
  
  .nav-label {
    font-size: 0.75rem;
  }
  
  .nav-title {
    font-size: 0.95rem;
  }
  
  .nav-title {
    font-size: 1rem;
  }
}

/* ============================================
   MOBILE RESPONSIVE - Index.php
   Tối ưu cho màn hình mobile (320px - 768px)
   ============================================ */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    width: 92%;
    padding: 15px;
  }
  
  /* Hero Slider */
  .hero-slider {
    height: 70vh;
  }
  
  .slide-content h1 {
    font-size: 2.5rem;
  }
  
  .slide-content p {
    font-size: 1.1rem;
  }
  
  /* Services Section */
  .services-layout {
    flex-direction: column;
    gap: 50px;
  }
  
  .services-left,
  .services-right {
    max-width: 100%;
  }
  
  .services-title {
    font-size: 2.2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Mobile Large (max-width: 768px) */
@media (max-width: 768px) {
  /* Container */
  .container {
    width: 95%;
    padding: 10px;
  }
  
  /* Hero Slider */
  .hero-slider {
    height: 60vh;
    min-height: 500px;
  }
  
  .slide-content {
    padding: 30px 20px;
  }
  
  .slide-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .slide-content p {
    font-size: 1rem;
    margin: 15px 0 25px;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
  
  .slider-controls {
    width: calc(100% - 30px);
    left: 15px;
    right: 15px;
  }
  
  .slider-controls button,
  .prev-btn, 
  .next-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    padding: 0;
    border-radius: 50%;
  }
  
  .slider-dots {
    bottom: 15px;
    gap: 8px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  /* Services Section */
  .section-services {
    padding: 60px 0;
  }
  
  .services-left {
    text-align: center;
  }
  
  .services-subtitle {
    font-size: 0.8rem;
  }
  
  .services-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .services-description {
    font-size: 0.95rem;
  }
  
  .hire-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
  }
  
  .service-item {
    text-align: center;
  }
  
  .service-icon {
    margin: 0 auto 15px;
  }
  
  .service-item h3 {
    font-size: 1.1rem;
  }
  
  .service-item p {
    font-size: 0.85rem;
  }
  
  /* Mission Section */
  .section-mission {
    padding: 60px 0;
  }
  
  .mission-header {
    margin-bottom: 30px;
  }
  
  .mission-subtitle {
    font-size: 0.8rem;
  }
  
  .mission-title {
    font-size: 1.8rem;
  }
  
  .mission-layout {
    flex-direction: column;
    gap: 30px;
  }
  
  .mission-left,
  .mission-right {
    width: 100%;
  }
  
  .mission-image {
    height: 200px;
    border-radius: 10px;
  }
  
  .mission-overlay {
    padding: 15px;
  }
  
  .mission-overlay h3 {
    font-size: 1.1rem;
  }
  
  .mission-category {
    font-size: 0.8rem;
  }
  
  .accordion-item {
    padding: 15px;
    margin-bottom: 10px;
  }
  
  .accordion-header {
    padding: 0;
  }
  
  .accordion-header h3 {
    font-size: 1rem;
  }
  
  .accordion-icon {
    font-size: 1.3rem;
  }
  
  .accordion-content {
    padding: 12px 0 0 0;
  }
  
  .accordion-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Stats Section */
  .section-stats {
    padding: 50px 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  /* Partners & Testimonials */
  #partners {
    padding: 60px 0;
  }
  
  .testimonial-section {
    padding: 40px 20px;
  }
  
  .quote-icon {
    width: 60px;
    height: 60px;
  }
  
  .quote-icon svg {
    width: 60px;
    height: 45px;
  }
  
  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .testimonial-author h4 {
    font-size: 1rem;
  }
  
  .author-title {
    font-size: 0.85rem;
  }
  
  .testimonial-navigation {
    margin-top: 30px;
  }
  
  .testimonial-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 20px;
  }
  
  .partner-logo {
    height: 50px;
  }
  
  /* Team Section */
  .section-team {
    padding: 60px 0;
    overflow: hidden;
  }
  
  .team-header {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }
  
  .team-slider {
    overflow: hidden;
    margin: 0;
  }
  
  .team-track {
    padding: 20px 0;
  }
  
  .team-subtitle {
    font-size: 0.8rem;
  }
  
  .team-title {
    font-size: 1.8rem;
  }
  
  .team-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .team-member-card {
    min-width: 0;
    max-width: 220px;
  }
  
  .team-member-info h3 {
    font-size: 1.1rem;
  }
  
  .team-member-role {
    font-size: 0.85rem;
  }
  
  .team-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Gallery */
  #gallery {
    padding: 60px 0;
  }
  
  .gallery-grid-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    height: auto;
  }
  
  .gallery-large {
    height: 250px;
    border-radius: 8px;
  }
  
  .gallery-small-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
  }
  
  .gallery-small-item {
    height: 120px;
    border-radius: 6px;
  }
  
  .gallery-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  
  /* Lightbox */
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  
  .lightbox-caption {
    font-size: 0.9rem;
    padding: 15px;
  }
  
  /* Blog Section */
  #blog {
    padding: 60px 0;
  }
  
  .blog-subtitle {
    font-size: 0.8rem;
  }
  
  .blog-title {
    font-size: 1.8rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .blog-image {
    aspect-ratio: 1/1;
  }
  
  .blog-article-title {
    font-size: 0.95rem;
  }
  
  .blog-content {
    padding: 12px 10px;
  }
  
  .blog-meta {
    font-size: 0.75rem;
  }
  
  .blog-view-all {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
  /* Hero Slider */
  .hero-slider {
    height: 55vh;
    min-height: 450px;
  }
  
  .slide-content {
    padding: 20px 15px;
  }
  
  .slide-content h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }
  
  .slide-content p {
    font-size: 0.9rem;
    margin: 12px 0 20px;
  }
  
  .cta-button {
    padding: 10px 25px;
    font-size: 0.85rem;
  }
  
  .slider-controls {
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
  }
  
  .slider-controls button,
  .prev-btn, 
  .next-btn {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
    padding: 0;
    border-radius: 50%;
  }
  
  .slider-dots {
    bottom: 12px;
    gap: 6px;
  }
  
  .dot {
    width: 6px;
    height: 6px;
  }
  
  /* Services Section */
  .section-services {
    padding: 50px 0;
  }
  
  .services-subtitle {
    font-size: 0.75rem;
  }
  
  .services-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  
  .services-description {
    font-size: 0.9rem;
  }
  
  .hire-btn {
    padding: 11px 25px;
    font-size: 0.85rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
  }
  
  .service-icon i {
    font-size: 32px;
  }
  
  .service-item h3 {
    font-size: 1rem;
  }
  
  .service-item p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  /* Featured Services */
  .section-featured-services {
    height: auto;
    min-height: 60vh;
  }
  
  .featured-services-group {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: auto;
    min-height: 60vh;
  }
  
  .featured-service-content {
    padding: 20px 12px;
    gap: 10px;
  }
  
  .featured-service-title {
    font-size: 1.1rem;
  }
  
  .featured-service-excerpt {
    font-size: 0.8rem;
  }
  
  .featured-service-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
  
  .featured-service-nav {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .featured-services-controls {
    padding: 0 10px;
  }
  
  .featured-services-indicators {
    bottom: 12px;
    gap: 6px;
  }
  
  .featured-indicator {
    width: 7px;
    height: 7px;
  }
  
  /* Mission Section */
  .section-mission {
    padding: 50px 0;
  }
  
  .mission-header {
    margin-bottom: 25px;
  }
  
  .mission-subtitle {
    font-size: 0.75rem;
  }
  
  .mission-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .mission-layout {
    gap: 25px;
  }
  
  .mission-image {
    height: 180px;
    border-radius: 8px;
  }
  
  .mission-overlay {
    padding: 15px 12px;
  }
  
  .mission-overlay h3 {
    font-size: 1rem;
    line-height: 1.2;
  }
  
  .mission-category {
    font-size: 0.7rem;
  }
  
  .accordion-item {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .accordion-header {
    padding: 0;
  }
  
  .accordion-header h3 {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  
  .accordion-icon {
    font-size: 1.3rem;
  }
  
  .accordion-content {
    padding: 10px 0 0 0;
  }
  
  .accordion-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .accordion-item.active .accordion-content {
    padding-bottom: 65px;
  }
  
  /* Stats Section */
  .section-stats {
    padding: 40px 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-item {
    padding: 25px 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  /* Partners & Testimonials */
  #partners {
    padding: 50px 0;
  }
  
  .testimonial-section {
    padding: 30px 15px;
  }
  
  .quote-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }
  
  .quote-icon svg {
    width: 50px;
    height: 38px;
  }
  
  .testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .testimonial-author-wrapper {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .testimonial-author-avatar {
    width: 60px;
    height: 60px;
  }
  
  .testimonial-author h4 {
    font-size: 0.95rem;
  }
  
  .author-title {
    font-size: 0.8rem;
  }
  
  .testimonial-navigation {
    margin-top: 25px;
    gap: 250px;
  }
  
  .testimonial-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
  
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 15px;
  }
  
  .partner-logo {
    height: auto;
  }
  
  .partner-logo img {
    max-width: 100%;
    max-height: 50px;
  }
  
  .partners-logos.slider-mode {
    grid-template-columns: 1fr;
  }
  
  /* Team Section */
  .section-team {
    padding: 50px 0;
    overflow: hidden;
  }
  
  .team-header {
    gap: 25px;
    margin-bottom: 30px;
  }
  
  .team-subtitle {
    font-size: 0.75rem;
  }
  
  .team-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .team-header-right {
    gap: 12px;
  }
  
  .team-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .team-slider {
    margin: 0;
    overflow: hidden;
  }
  
  .team-track {
    gap: 12px;
    padding: 20px 0;
  }
  
  .team-member-card {
    min-width: 0;
    max-width: 250px;
  }
  
  .team-member-image {
    height: auto;
    aspect-ratio: 3/4;
  }
  
  .team-member-info {
    padding: 0;
  }
  
  .team-member-info h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .team-member-role {
    font-size: 0.7rem;
  }
  
  .team-bottom {
    margin-top: 35px;
    padding: 0 15px;
  }
  
  .team-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Gallery */
  #gallery {
    padding: 50px 0;
  }
  
  .gallery-grid-container {
    gap: 8px;
    padding: 0 10px;
  }
  
  .gallery-large {
    height: 220px;
    border-radius: 6px;
  }
  
  .gallery-small-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
  }
  
  .gallery-small-item {
    height: 100px;
    border-radius: 5px;
  }
  
  .gallery-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
  
  /* Lightbox */
  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 2rem;
    width: 35px;
    height: 35px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
  }
  
  .lightbox-prev {
    left: 10px;
    top: 43%;
  }
  
  .lightbox-next {
    right: 10px;
    top: 43%;
  }
  
  .lightbox-content img {
    max-width: 90%;
    max-height: 70vh;
  }
  
  .lightbox-caption {
    font-size: 0.85rem;
    padding: 12px;
  }
  
  /* Blog Section */
  #blog {
    padding: 50px 0;
  }
  
  .blog-header {
    margin-bottom: 35px;
  }
  
  .blog-subtitle {
    font-size: 0.75rem;
  }
  
  .blog-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .blog-image {
    aspect-ratio: 1/1;
    height: auto;
  }
  
  .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .blog-category {
    font-size: 0.65rem;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
  }
  
  .blog-content {
    padding: 10px 8px;
  }
  
  .blog-article-title {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .blog-meta {
    font-size: 0.7rem;
    margin-top: 8px;
  }
  
  .blog-footer {
    margin-top: 30px;
  }
  
  .blog-view-all {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

/* Mobile Extra Small (max-width: 360px) */
@media (max-width: 360px) {
  .container {
    width: 96%;
    padding: 8px;
  }
  
  .hero-slider {
    height: 50vh;
    min-height: 400px;
  }
  
  .slide-content h1 {
    font-size: 1.4rem;
  }
  
  .slide-content p {
    font-size: 0.85rem;
  }
  
  .services-title,
  .mission-title,
  .team-title,
  .blog-title {
    font-size: 1.3rem;
  }
  
  .services-grid,
  .stats-grid {
    gap: 20px;
  }
  
  .gallery-small-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .gallery-small-item {
    height: 85px;
  }
  
  .gallery-large {
    height: 200px;
  }
  
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 10px;
  }
  
  .partner-logo img {
    max-width: 100%;
    max-height: 45px;
  }
}

/* ============================================
   GALLERY ALBUM SYSTEM - Google Drive Integration
   ============================================ */

/* Album Hero Banner (Featured Image) */
.gallery-album-hero {
  width: 100%;
  margin-bottom: 0;
}

.gallery-album-page .album-hero-image {
  width: 100%;
  height: 900px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.album-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.album-hero-title {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  animation: fadeInUp 0.8s ease;
}

.album-hero-description {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  animation: fadeInUp 1s ease;
}

.album-hero-description p {
  margin: 0;
}

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

.gallery-album-wrapper {
  padding: 60px 0;
  background: var(--background-light, #f8f9fa);
  min-height: 100vh;
}

.gallery-album-wrapper .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Album Header */
.gallery-album-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gallery-album-header .album-title {
  font-size: 2.5rem;
  color: var(--primary-color, #c72538);
  margin-bottom: 15px;
  font-weight: 700;
}

.gallery-album-header .album-description {
  font-size: 1.1rem;
  color: var(--text-secondary, #666);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.album-qr-code {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.album-qr-code img {
  max-width: 200px;
  border: 3px solid var(--primary-color, #c72538);
  border-radius: 8px;
  padding: 10px;
  background: white;
}

.album-qr-code p {
  margin-top: 10px;
  color: var(--text-secondary, #666);
  font-size: 0.9rem;
}

/* Password Protection Form */
.album-password-form {
  max-width: 500px;
  margin: 60px auto;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.password-form-container h3 {
  font-size: 1.5rem;
  color: var(--primary-color, #c72538);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.password-form-container p {
  color: var(--text-secondary, #666);
  margin-bottom: 25px;
}

.password-error {
  background: #fee;
  color: #c00;
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.password-form .form-group {
  display: flex;
  gap: 10px;
}

.password-form input[type="password"] {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.password-form input[type="password"]:focus {
  outline: none;
  border-color: var(--primary-color, #c72538);
}

.password-form button {
  padding: 14px 30px;
  background: var(--primary-color, #c72538);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-form button:hover {
  background: var(--primary-hover, #a01e2a);
}

/* Folder Tabs */
.folder-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding: 10px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.folder-tab {
  padding: 12px 24px;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #333);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.folder-tab:hover {
  color: var(--primary-color, #c72538);
  border-color: var(--primary-color, #c72538);
}

.folder-tab.active {
  background: var(--primary-color, #c72538);
  color: white;
  border-color: var(--primary-color, #c72538);
}

/* Gallery Controls */
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.images-count, .favorites-count {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-primary, #333);
  font-weight: 600;
}

.images-count i, .favorites-count i {
  color: var(--primary-color, #c72538);
  font-size: 1.2rem;
}

.btn-download-list {
  padding: 10px 20px;
  background: var(--primary-color, #c72538);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-download-list:hover {
  background: var(--primary-hover, #a01e2a);
}

.btn-share-album {
  padding: 10px 20px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-share-album:hover {
  background: #005a87;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  z-index: 99999;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-notification.toast-success {
  border-left: 4px solid #00a32a;
  color: #00a32a;
}

.toast-notification.toast-error {
  border-left: 4px solid #d63638;
  color: #d63638;
}

.toast-notification i {
  font-size: 1.2rem;
}

/* Gallery Grid */
.gallery-album-page .gallery-grid {
  column-count: 4;
  column-gap: 20px;
  margin-bottom: 40px;
}

.gallery-album-page .gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  background: #f0f0f0;
  aspect-ratio: unset !important;
  height: auto !important;
  min-height: 200px;
}

.gallery-album-page .gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-album-page .gallery-item img {
  width: 100%;
  height: auto !important;
  display: block;
  transition: transform 0.3s, opacity 0.3s;
  object-fit: contain !important;
  opacity: 0;
}

.gallery-album-page .gallery-item img.loaded {
  opacity: 1;
}

.gallery-album-page .gallery-item:hover img {
  transform: scale(1.05);
}

/* Skeleton loading animation */
.gallery-album-page .gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  z-index: 1;
}

.gallery-album-page .gallery-item img.loaded ~ .gallery-item::before,
.gallery-album-page .gallery-item.image-loaded::before {
  display: none;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Item Actions */
.item-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s;
}

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

.btn-favorite,
.btn-download-image {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-decoration: none;
}

.btn-favorite:hover,
.btn-download-image:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-favorite:hover {
  color: var(--primary-color, #c72538);
}

.btn-download-image:hover {
  color: #00a32a;
}

.btn-favorite.is-favorite {
  color: var(--primary-color, #c72538);
  background: rgba(255,255,255,1);
  opacity: 1;
  transform: translateY(0);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.image-name {
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Loading & Error States */
.loading-spinner {
  text-align: center;
  padding: 60px 20px;
  font-size: 1.2rem;
  color: var(--text-secondary, #666);
  grid-column: 1 / -1;
}

.loading-spinner i {
  font-size: 2rem;
  color: var(--primary-color, #c72538);
  display: block;
  margin-bottom: 15px;
}

.error-message {
  text-align: center;
  padding: 40px 20px;
  color: #c00;
  font-size: 1.1rem;
  background: #fee;
  border-radius: 8px;
  grid-column: 1 / -1;
}

/* Load More Button */
.load-more-container {
  text-align: center;
  margin: 30px 0;
}

.btn-load-more {
  padding: 14px 40px;
  background: white;
  color: var(--primary-color, #c72538);
  border: 2px solid var(--primary-color, #c72538);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-load-more:hover {
  background: var(--primary-color, #c72538);
  color: white;
}

.btn-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px 100px 60px;
}

.lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.gallery-album-page .lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transition: opacity 0.3s;
  position: relative;
}

/* Ảnh ngang - full width */
.gallery-album-page .lightbox-content img[style*="landscape"],
.gallery-album-page .lightbox-content img.landscape-image {
  width: 100vw;
  height: auto;
  max-height: calc(100vh - 180px);
}

/* Ảnh dọc - full height */
.gallery-album-page .lightbox-content img[style*="portrait"],
.gallery-album-page .lightbox-content img.portrait-image {
  width: auto;
  height: calc(100vh - 180px);
  max-width: 100vw;
}

.lightbox-content img[src*="thumbnail"] {
  opacity: 0.7;
  filter: blur(5px);
}

.lightbox-info {
  margin-top: -60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 90vw;
  color: white;
}

.lightbox-info-text {
  flex: 1;
  text-align: left;
}

.lightbox-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.lightbox-info p {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0;
}

.lightbox-info-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* Gallery Album Page - Lightbox Navigation */
.gallery-album-page .lightbox-close, 
.gallery-album-page .lightbox-prev, 
.gallery-album-page .lightbox-next {
  position: fixed !important;
  width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  background: rgba(255,255,255,0.1) !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  border-radius: 50% !important;
  color: white !important;
  font-size: 1.5rem !important;
  cursor: pointer;
  transition: all 0.3s;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10001 !important;
  line-height: 1 !important;
}

.gallery-album-page .lightbox-close:hover, 
.gallery-album-page .lightbox-prev:hover, 
.gallery-album-page .lightbox-next:hover {
  background: rgba(255,255,255,0.2) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

.gallery-album-page .lightbox-close {
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  transform: none !important;
}

.gallery-album-page .lightbox-prev {
  left: 20px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.gallery-album-page .lightbox-next {
  right: 20px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.gallery-album-page .lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1) !important;
}

.gallery-album-page .lightbox-next:hover {
  transform: translateY(-50%) scale(1.1) !important;
}

.gallery-album-page .lightbox-prev i,
.gallery-album-page .lightbox-next i {
  display: block !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
}

.btn-lightbox-favorite, .btn-lightbox-download {
  width: 50px;
  height: 50px;
  padding: 0;
  background: rgba(0,0,0,0.8);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  color: white !important;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn-lightbox-favorite:hover {
  background: rgba(199, 37, 56, 0.8);
  border-color: var(--primary-color, #c72538);
  transform: scale(1.1);
}

.btn-lightbox-download:hover {
  background: rgba(0, 163, 42, 0.8);
  border-color: #00a32a;
  transform: scale(1.1);
}

.btn-lightbox-favorite.is-favorite {
  background: var(--primary-color, #c72538);
  border-color: var(--primary-color, #c72538);
}

.btn-lightbox-favorite i, .btn-lightbox-download i {
  font-size: 1.2rem;
  line-height: 1;
}

.btn-lightbox-download i {
  font-size: 0.95rem !important;
  line-height: 1 !important;
}

/* Responsive - Tablet */
@media (max-width: 968px) {
  .gallery-album-wrapper .container {
    padding: 0 15px;
  }
  
  .gallery-album-header .album-title {
    font-size: 2rem;
  }
  
  .gallery-album-page .gallery-grid {
    column-count: 3;
    column-gap: 15px;
  }
  
  .folder-tabs {
    flex-wrap: wrap;
  }
  
  .gallery-controls {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    padding: 15px;
  }
  
  .controls-left, .controls-right {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .btn-download-list,
  .btn-share-album {
    flex: 1;
    min-width: 150px;
    justify-content: center;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .album-hero-image {
    height: 350px;
  }
  
  .album-hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .album-hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .gallery-album-wrapper {
    padding: 40px 0;
  }
  
  .gallery-album-header {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .gallery-album-header .album-title {
    font-size: 1.6rem;
  }
  
  .gallery-album-header .album-description {
    font-size: 0.95rem;
  }
  
  .album-qr-code img {
    max-width: 150px;
  }
  
  .album-password-form {
    padding: 25px;
    margin: 40px 20px;
  }
  
  .password-form-container h3 {
    font-size: 1.2rem;
  }
  
  .password-form .form-group {
    flex-direction: column;
  }
  
  .password-form button {
    justify-content: center;
  }
  
  .folder-tabs {
    gap: 8px;
    padding: 8px;
  }
  
  .folder-tab {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .gallery-item .item-actions {
    opacity: 1;
    transform: translateY(0);
  }
  
  .btn-favorite,
  .btn-download-image {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .lightbox-close, .lightbox-prev, .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-actions {
    flex-direction: column;
    bottom: 10px;
    gap: 10px;
  }
  
  .btn-lightbox-favorite, .btn-lightbox-download {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .gallery-controls {
    padding: 12px;
    margin-bottom: 20px;
  }
  
  .controls-left, .controls-right {
    gap: 12px;
  }
  
  .images-count, .favorites-count {
    font-size: 0.85rem;
  }
  
  .images-count i, .favorites-count i {
    font-size: 1rem;
  }
  
  .btn-download-list,
  .btn-share-album {
    padding: 8px 16px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
  
  .btn-download-list span:not(.dashicons),
  .btn-share-album span:not(.dashicons) {
    display: none;
  }
  
  .gallery-album-page .gallery-grid {
    column-count: 2;
    column-gap: 12px;
  }
  
  .gallery-album-page .gallery-item {
    margin-bottom: 12px;
  }
  
  .btn-favorite,
  .btn-download-image {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .lightbox-container {
    padding: 60px 10px 120px 10px;
  }
  
  .lightbox-content img {
    max-height: calc(100vh - 140px);
  }
  
  .gallery-album-page .lightbox-close, 
  .gallery-album-page .lightbox-prev, 
  .gallery-album-page .lightbox-next {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.3rem !important;
  }
  
  .gallery-album-page .lightbox-close {
    top: 10px !important;
    right: 10px !important;
  }
  
  .gallery-album-page .lightbox-prev {
    left: 10px !important;
  }
  
  .gallery-album-page .lightbox-next {
    right: 10px !important;
  }
  
  .gallery-album-page .lightbox-prev i,
  .gallery-album-page .lightbox-next i {
    font-size: 1.3rem !important;
  }
  
  .lightbox-info {
    flex-direction: column;
    gap: 15px;
    margin-top: 0;
    align-items: flex-start;
  }
  
  .lightbox-info-text {
    width: 100%;
  }
  
  .lightbox-info h3 {
    font-size: 1rem;
    margin-bottom: 3px;
  }
  
  .lightbox-info p {
    font-size: 0.85rem;
  }
  
  .lightbox-info-actions {
    width: auto;
    gap: 12px;
  }
  
  .btn-lightbox-favorite, .btn-lightbox-download {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex-shrink: 0;
    font-size: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .btn-lightbox-favorite i, .btn-lightbox-download i {
    font-size: 1.05rem !important;
    line-height: 1 !important;
  }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
  .album-hero-image {
    height: 280px;
  }
  
  .album-hero-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .album-hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .gallery-controls {
    padding: 10px;
    margin-bottom: 15px;
  }
  
  .controls-left, .controls-right {
    gap: 8px;
  }
  
  .images-count, .favorites-count {
    font-size: 0.8rem;
  }
  
  .images-count i, .favorites-count i {
    font-size: 0.95rem;
  }
  
  .btn-download-list,
  .btn-share-album {
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }
  
  .lightbox-container {
    padding: 50px 5px 130px 5px;
  }
  
  .lightbox-content img {
    max-height: calc(85vh - 120px);
  }
  
  .gallery-album-page .lightbox-close, 
  .gallery-album-page .lightbox-prev, 
  .gallery-album-page .lightbox-next {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }
  
  .gallery-album-page .lightbox-prev i,
  .gallery-album-page .lightbox-next i {
    font-size: 1.2rem !important;
  }
  
  .lightbox-info {
    gap: 12px;
    margin-top: 0;
  }
  
  .lightbox-info h3 {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  
  .lightbox-info p {
    font-size: 0.8rem;
  }
  
  .lightbox-info-actions {
    width: auto;
    gap: 10px;
  }
  
  .btn-lightbox-favorite, .btn-lightbox-download {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    flex-shrink: 0;
    font-size: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .btn-lightbox-favorite i, .btn-lightbox-download i {
    font-size: 0.95rem !important;
    line-height: 1 !important;
  }
}

/* ============================================
   GALLERY ALBUMS ARCHIVE
   ============================================ */

.gallery-albums-archive {
  padding: 60px 0;
  background: var(--background-light, #f8f9fa);
  min-height: 100vh;
}

.gallery-albums-archive .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Archive Header */
.archive-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 40px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.archive-header .archive-title {
  font-size: 2.5rem;
  color: var(--primary-color, #c72538);
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.archive-header .archive-description {
  font-size: 1.1rem;
  color: var(--text-secondary, #666);
  max-width: 600px;
  margin: 0 auto;
}

/* Albums Grid */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.album-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.album-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.album-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.album-thumbnail {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0f0f0;
}

.album-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.album-card:hover .album-thumbnail img {
  transform: scale(1.1);
}

.album-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.75);
  color: white;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.password-badge {
  background: var(--primary-color, #c72538);
}

.album-overlay {
  position: absolute;
  inset: 0;
  background: rgba(199,37,56,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
  gap: 10px;
}

.album-card:hover .album-overlay {
  opacity: 1;
}

.album-overlay i {
  font-size: 1.5rem;
}

.album-card-content {
  padding: 25px;
}

.album-card-title {
  font-size: 1.4rem;
  color: var(--primary-color, #c72538);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.album-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8e8e8;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary, #666);
}

.stat-item i {
  color: var(--primary-color, #c72538);
  font-size: 1rem;
}

.album-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary, #666);
  line-height: 1.6;
  margin-bottom: 15px;
}

.album-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e8e8e8;
  font-size: 0.85rem;
  color: var(--text-secondary, #999);
}

.album-date, .has-qr {
  display: flex;
  align-items: center;
  gap: 6px;
}

.has-qr {
  color: var(--primary-color, #c72538);
  font-weight: 600;
}

/* No Albums State */
.no-albums {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.no-albums i {
  font-size: 4rem;
  color: #ccc;
  margin-bottom: 20px;
}

.no-albums h3 {
  font-size: 1.6rem;
  color: var(--text-primary, #333);
  margin-bottom: 10px;
}

.no-albums p {
  font-size: 1rem;
  color: var(--text-secondary, #666);
}

/* Pagination */
.archive-pagination {
  margin-top: 50px;
}

.pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-list li {
  margin: 0;
}

.pagination-list a, .pagination-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: white;
  color: var(--text-primary, #333);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.pagination-list a:hover {
  background: var(--primary-color, #c72538);
  color: white;
  border-color: var(--primary-color, #c72538);
}

.pagination-list .current {
  background: var(--primary-color, #c72538);
  color: white;
  border-color: var(--primary-color, #c72538);
}

/* Responsive - Tablet */
@media (max-width: 968px) {
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .archive-header .archive-title {
    font-size: 2rem;
  }
  
  .album-card-content {
    padding: 20px;
  }
  
  .album-card-title {
    font-size: 1.25rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .gallery-albums-archive {
    padding: 40px 0;
  }
  
  .archive-header {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .archive-header .archive-title {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .archive-header .archive-description {
    font-size: 0.95rem;
  }
  
  .albums-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .album-stats {
    gap: 12px;
  }
  
  .stat-item {
    font-size: 0.85rem;
  }
  
  .album-meta {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .pagination-list a, .pagination-list span {
    min-width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* ============================================
   QR DISPLAY PAGE
   ============================================ */

.qr-display-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
  position: relative;
  overflow: hidden;
}

.qr-display-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%);
  pointer-events: none;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.qr-fullscreen-btn {
  position: fixed;
  top: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  color: #1e3c72;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 0 0 rgba(139, 92, 246, 0.5);
}

.qr-fullscreen-btn:hover {
  background: white;
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 0 8px rgba(199, 37, 56, 0.2);
}

.qr-display-container {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Left Side - Slideshow */
.qr-slideshow-section {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
  overflow: hidden;
  padding: 40px;
}

.qr-slideshow {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.qr-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.qr-slide.active {
  opacity: 1;
  z-index: 1;
}

.qr-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.qr-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease-out;
}

.qr-slide.active img {
  transform: scale(1.05);
}

.qr-slide-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
}

.qr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
}

.qr-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.4s;
}

.qr-dot:hover {
  background: rgba(255,255,255,0.8);
  transform: scale(1.3);
}

.qr-dot:hover::after {
  border-color: rgba(255,255,255,0.3);
}

.qr-dot.active {
  background: white;
  width: 32px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(199, 37, 56, 0.5);
}

.qr-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.5);
  padding: 60px;
}

.qr-placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.qr-placeholder p {
  font-size: 1.2rem;
  margin: 0;
}

/* Right Side - QR Code */
.qr-code-section {
  flex: 0 0 42%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}

.qr-code-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 70% 30%, rgba(199, 37, 56, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(139, 26, 40, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.qr-code-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(199, 37, 56, 0.15), transparent 70%);
  filter: blur(60px);
  transform: translateY(-50%);
  animation: pulse 4s ease-in-out infinite;
}

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

.qr-code-content {
  text-align: center;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.qr-display-title {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c72538 0%, #8b1a28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.qr-display-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 50px;
  line-height: 1.6;
}

.qr-code-image {
  margin: 40px 0;
  padding: 35px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.08);
  display: inline-block;
  border: 4px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-code-image::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, #c72538, #e84a5f, #a01e2a);
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.qr-code-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 25px rgba(199,37,56,0.2);
}

.qr-code-image:hover::before {
  opacity: 1;
}

.qr-code-image img {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

.qr-code-placeholder {
  margin: 40px 0;
  padding: 80px 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 24px;
  color: #cbd5e0;
  border: 2px dashed #cbd5e0;
  position: relative;
  overflow: hidden;
}

.qr-code-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(199,37,56,0.08), transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse-slow 5s ease-in-out infinite;
}

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

.qr-code-placeholder i {
  font-size: 5rem;
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 1;
}

.qr-code-placeholder p {
  font-size: 1.1rem;
  margin: 0;
  color: #a0aec0;
  position: relative;
  z-index: 1;
}

.qr-scan-instruction {
  margin-top: 40px;
  padding: 25px 35px;
  background: linear-gradient(135deg, #c72538 0%, #8b1a28 100%);
  border-radius: 50px;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 8px 25px rgba(199,37,56,0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.qr-scan-instruction::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.qr-scan-instruction:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(199,37,56,0.45);
}

.qr-scan-instruction:hover::before {
  left: 100%;
}

.qr-scan-instruction i {
  font-size: 1.8rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

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

.qr-scan-instruction p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.3px;
}

/* Fullscreen mode adjustments */
.qr-display-wrapper:fullscreen {
  background: linear-gradient(135deg, #c72538 0%, #8b1a28 100%);
}

.qr-display-wrapper:fullscreen .qr-display-container {
  height: 100vh;
}

.qr-display-wrapper:fullscreen .qr-code-section {
  flex: 0 0 40%;
}

/* Responsive */
@media (max-width: 968px) {
  .qr-display-container {
    flex-direction: column;
  }
  
  .qr-slideshow-section {
    min-height: 50vh;
    flex: 0 0 50vh;
  }
  
  .qr-slideshow {
    border-radius: 20px;
  }
  
  .qr-code-section {
    flex: 1;
    padding: 40px 30px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
  }
  
  .qr-display-title {
    font-size: 2.2rem;
  }
  
  .qr-display-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .qr-code-image {
    padding: 25px;
  }
  
  .qr-code-image img {
    max-width: 280px;
  }
  
  .qr-code-placeholder {
    padding: 60px 30px;
  }
  
  .qr-scan-instruction {
    padding: 20px 30px;
    border-radius: 40px;
  }
  
  .qr-scan-instruction i {
    font-size: 1.5rem;
  }
  
  .qr-scan-instruction p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .qr-fullscreen-btn {
    width: 48px;
    height: 48px;
    top: 15px;
    right: 15px;
    font-size: 1.1rem;
  }
  
  .qr-slideshow-section {
    min-height: 45vh;
    flex: 0 0 45vh;
  }
  
  .qr-slideshow {
    border-radius: 16px;
  }
  
  .qr-slide-dots {
    padding: 8px 16px;
    border-radius: 20px;
  }
  
  .qr-slide-dot {
    width: 10px;
    height: 10px;
  }
  
  .qr-slide-dot.active {
    width: 24px;
  }
  
  .qr-code-section {
    padding: 35px 25px;
  }
  
  .qr-display-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .qr-display-subtitle {
    font-size: 0.95rem;
    margin-bottom: 35px;
  }
  
  .qr-code-image {
    padding: 20px;
    margin: 30px 0;
    border-radius: 18px;
  }
  
  .qr-code-image img {
    max-width: 240px;
  }
  
  .qr-code-placeholder {
    padding: 50px 25px;
  }
  
  .qr-code-placeholder i {
    font-size: 4rem;
  }
  
  .qr-scan-instruction {
    padding: 18px 25px;
    border-radius: 40px;
  }
  
  .qr-scan-instruction p {
    font-size: 0.9rem;
  }
  
  .qr-slide-dots {
    bottom: 20px;
    gap: 10px;
  }
  
  .qr-dot {
    width: 10px;
    height: 10px;
  }
  
  .qr-dot.active {
    width: 30px;
  }
}