/* Corporate Website Custom Styles */

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(165, 195, 60, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(165, 195, 60, 0.15);
  border-color: rgba(165, 195, 60, 0.2);
}

.service-icon {
  font-size: 3.5rem;
  color: #a5c33c;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: #95b036;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.service-features {
  position: relative;
  z-index: 2;
}

.service-features ul li {
  text-align: left;
  padding: 0.25rem 0;
}

.service-pricing {
  position: relative;
  z-index: 2;
}

.service-card .btn {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-card:hover .btn {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(165, 195, 60, 0.3);
}

/* Service Card Animations */
.service-card.animate-in {
  animation: serviceSlideIn 0.6s ease-out forwards;
}

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

/* Service Section Enhancements */
#services {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 195, 60, 0.3), transparent);
}

/* Responsive Service Cards */
@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .service-icon {
    font-size: 3rem;
  }
  
  .service-title {
    font-size: 1.25rem;
  }
}
 

/* Contact Form */
.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem;
  font-size: 1rem;
}

.form-control:focus {
  border-color: #a5c33c;
  box-shadow: 0 0 0 0.2rem rgba(165, 195, 60, 0.25);
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.floating-contact .btn {
  border-radius: 50px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(165, 195, 60, 0.3);
}

/* Hero Section Customizations */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .floating-contact {
    bottom: 1rem;
    right: 1rem;
  }
}

/* Loading States */
.loading-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Navigation Enhancements */
.u-header {
  z-index: 1050 !important; /* Ensure header is always on top */
}

.u-header.u-header--sticky-top {
  z-index: 1050 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

 
 

.u-header .navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease;
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* Override the g-font-size-13 class specifically */
.u-header .navbar-nav.g-font-size-13 .nav-link {
  font-size: 15px !important;
}

/* Override the g-font-weight-700 class */
.u-header .navbar-nav.g-font-weight-700 .nav-link {
  font-weight: 600 !important;
}

.u-header .navbar-nav .nav-link:hover {
  color: #a5c33c !important;
}

.u-header .navbar-nav .nav-item.active .nav-link {
  color: #a5c33c !important;
}

.u-header .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #a5c33c;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.u-header .navbar-nav .nav-item.active .nav-link::after,
.u-header .navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Mobile Navigation Improvements */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px !important;
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}

/* Hero Banner Enhancements */
.hero-content {
  position: relative;
  z-index: 2;
  animation: heroFadeIn 1s ease-out;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Simple fix for header visibility over carousel */
.js-carousel {
  position: relative;
  z-index: 1;
}

/* Carousel Indicators Customization */
.slick-dots-custom {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slick-dots-custom li {
  width: 12px;
  height: 12px;
  margin: 0;
}

.slick-dots-custom li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slick-dots-custom li.slick-active button {
  background: #a5c33c;
  border-color: #a5c33c;
  transform: scale(1.3);
}

.slick-dots-custom li button:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.3);
}

.slick-dots-custom li.slick-active button:hover {
  background: #95b036;
  border-color: #95b036;
}

/* Override any conflicting carousel styles */
.js-carousel.slick-initialized {
  position: relative;
}

.js-carousel .slick-list {
  overflow: hidden;
}

.js-carousel .slick-track {
  display: flex;
  align-items: stretch;
}

/* Hero Statistics Cards */
.hero-stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.hero-stats-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Service Icons */
.hero-service-icon {
  transition: all 0.3s ease;
}

.hero-service-icon:hover {
  transform: scale(1.1);
  color: #b7cf63 !important;
}

/* Fallback Background for Missing Images */
.js-slide .g-bg-img-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
}

/* Responsive Hero Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-content .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-content .btn:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  text-align: center;
  animation: bounce 2s infinite;
  transition: all 0.3s ease;
}

.scroll-indicator-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: #a5c33c;
}

.scroll-indicator span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

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

/* Hide scroll indicator on mobile */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}

/* Portfolio Preview Section */
#portfolio {
  position: relative;
}

#portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 195, 60, 0.3), transparent);
}

.portfolio-item {
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  /* transform: translateY(-5px); -- Animation removed */
}

.portfolio-tags .badge {
  transition: all 0.3s ease;
}

.portfolio-tags .badge:hover {
  background-color: #a5c33c !important;
  color: white !important;
}

/* Contact CTA Section */
#contact {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 195, 60, 0.3), transparent);
}

#contact .fa {
  transition: all 0.3s ease;
}

#contact .col-md-4:hover .fa {
  transform: scale(1.1);
  color: #95b036;
}

/* Footer Enhancements */
footer {
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 195, 60, 0.3), transparent);
}

footer a:hover {
  text-decoration: none;
}

footer .input-group .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

footer .input-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

footer .input-group .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #a5c33c;
  box-shadow: 0 0 0 0.2rem rgba(165, 195, 60, 0.25);
  color: white;
}

/* Scroll to Top Button */
.scroll-to-top:hover {
  background: #95b036 !important;
  transform: translateY(-2px);
}

/* Section Spacing */
section {
  position: relative;
}

/* Improved Button Styles */
.u-btn-outline-primary {
  color: #a5c33c;
  border-color: #a5c33c;
  background: transparent;
}

.u-btn-outline-primary:hover {
  color: white;
  background-color: #a5c33c;
  border-color: #a5c33c;
}

/* Animation Delays for Staggered Effects */
.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Improvements */
@media (max-width: 768px) {
  #contact .col-md-4 {
    margin-bottom: 2rem;
  }
  
  footer .col-lg-4,
  footer .col-lg-2,
  footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .scroll-to-top {
    bottom: 5rem !important;
    right: 1rem !important;
  }
}

/* Custom Animations */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Floating Contact Widget */
.floating-contact-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.floating-contact-main {
  position: relative;
}

.floating-contact-toggle {
  background: #a5c33c;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(165, 195, 60, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
}

.floating-contact-toggle:hover {
  background: #7ba428;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(165, 195, 60, 0.4);
}

.floating-contact-toggle.active {
  border-radius: 25px;
  background: #7ba428;
}

.floating-contact-toggle i {
  font-size: 16px;
}

.floating-contact-text {
  font-size: 13px;
}

/* Contact Menu */
.floating-contact-menu {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 8px;
  min-width: 160px;
  border: 1px solid #e9ecef;
}

.floating-contact-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-contact-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #495057;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.floating-contact-option:hover {
  background: #f8f9fa;
  color: #a5c33c;
  text-decoration: none;
  transform: translateX(2px);
}

.floating-contact-option i {
  font-size: 16px;
  width: 16px;
  text-align: center;
}

.floating-contact-option span {
  font-weight: 500;
}

/* WeChat QR Code Popup */
.floating-wechat-qr {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-wechat-qr.visible {
  opacity: 1;
  visibility: visible;
}

.floating-wechat-content {
  background: #4a4a5e; /* Dark purple-gray background */
  color: #f0f0f5;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 320px;
  padding: 25px;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.floating-wechat-qr.visible .floating-wechat-content {
  transform: scale(1);
}

.floating-wechat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-wechat-header span {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

.floating-wechat-close {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: #a0a0b8;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.floating-wechat-close:hover {
  color: #ffffff;
  transform: rotate(90deg);
}

.floating-wechat-img {
  width: 180px;
  height: 180px;
  margin: 20px auto;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.floating-wechat-tip {
  font-size: 14px;
  color: #c0c0d0;
  line-height: 1.6;
  margin: 15px 0 0 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-contact-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .floating-contact-toggle {
    padding: 12px 16px;
    font-size: 13px;
    min-width: 100px;
  }
  
  .floating-contact-text {
    font-size: 12px;
  }
  
  .floating-contact-menu {
    bottom: 55px;
    min-width: 140px;
  }
  
  .floating-contact-option {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .floating-wechat-qr {
    max-width: 260px;
  }
  
  .floating-wechat-img {
    width: 130px;
    height: 130px;
  }
}

/* Animation for floating widget */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.floating-contact-toggle {
  animation: float 3s ease-in-out infinite;
}

.floating-contact-toggle:hover {
  animation: none;
}

/* Pulse effect for attention */
.floating-contact-toggle::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50px;
  background: #a5c33c;
  opacity: 0;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* Hide pulse on hover */
.floating-contact-toggle:hover::before {
  animation: none;
  opacity: 0;
}
/* C
ontact Page Enhancements */
.response-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-dot.status-online {
  background: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.3);
}

.status-dot.status-away {
  background: #ffc107;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3);
}

.status-dot::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

.status-text {
  color: #495057;
  font-weight: 500;
}

/* Process Step Animation */
.process-step-animate {
  animation: processStepIn 0.8s ease forwards;
  opacity: 0;
  transform: scale(0.8);
}

@keyframes processStepIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Contact Form Enhancements */
.form-control:focus {
  border-color: #a5c33c;
  box-shadow: 0 0 0 0.2rem rgba(165, 195, 60, 0.25);
}

.form-control.is-valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 1.88-1.88.94-.94L7.07 2 6.13 1.06 3.24 3.95 1.77 2.47.83 3.41l1.47 1.47z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4M7.2 4.6l-1.4 1.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Contact Method Hover Effects */
.g-bg-white.g-rounded-4.g-pa-30:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* WeChat QR Code Hover Effect */
.floating-wechat-img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* FAQ Interaction Enhancements */
.faq-item {
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-item:hover {
  background: rgba(165, 195, 60, 0.05);
  border-radius: 4px;
}

/* Mobile Contact Optimizations */
@media (max-width: 768px) {
  .floating-contact-widget {
    bottom: 80px; /* Account for mobile browser UI */
  }
  
  .response-status-indicator {
    justify-content: center;
    margin-top: 15px;
  }
  
  .status-text {
    font-size: 11px;
  }
  
  /* Larger touch targets on mobile */
  .floating-contact-option {
    padding: 15px 16px;
    font-size: 14px;
  }
  
  .floating-contact-toggle {
    padding: 14px 18px;
    min-width: 110px;
  }
}

/* Contact Page Enhancements - Simple Version */

/* Contact Hero Stats */
.g-bg-white-opacity-0_1:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Contact Form Enhancements */
.contact-form .form-control:focus {
  border-color: #a5c33c;
  box-shadow: 0 0 0 0.2rem rgba(165, 195, 60, 0.25);
}

/* Contact Sidebar Cards */
.contact-sidebar-card {
  transition: all 0.3s ease;
}

.contact-sidebar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* WeChat QR Code Hover Effect */
.contact-qr-hover {
  transition: all 0.3s ease;
}

.contact-qr-hover:hover {
  transform: scale(1.05);
}

/* Process Steps Animation */
.process-step {
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step:hover .g-bg-primary {
  background: #95b036 !important;
  box-shadow: 0 4px 15px rgba(165, 195, 60, 0.3);
}

/* Contact Page Loading Animation */
.contact-page-loading {
  opacity: 0;
  animation: contactPageFadeIn 0.8s ease forwards;
}

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

/* Success Message Enhancement */
.alert-success {
  border-left: 4px solid #28a745;
  background: linear-gradient(90deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
}

.alert-danger {
  border-left: 4px solid #dc3545;
  background: linear-gradient(90deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
}

/* Contact Form Progress Bar Enhancement */
.form-progress .progress-bar {
  background: linear-gradient(90deg, #a5c33c 0%, #7ba428 100%);
  transition: width 0.5s ease;
}

.form-progress .progress {
  background: rgba(165, 195, 60, 0.1);
  border-radius: 2px;
}

/* Cooperation Process Enhancement */
.cooperation-process .g-bg-primary {
  position: relative;
  overflow: hidden;
}

.cooperation-process .g-bg-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.cooperation-process .g-bg-primary:hover::before {
  opacity: 1;
  animation: shine 0.6s ease;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Additional Utility Classes */
.g-bg-primary-gradient {
  background: linear-gradient(135deg, #a5c33c 0%, #7ba428 50%, #5a8020 100%);
}

.g-bg-primary-gradient-light {
  background: linear-gradient(135deg, rgba(165, 195, 60, 0.1), rgba(165, 195, 60, 0.05));
}

.g-box-shadow-v3 {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.g-box-shadow-v4 {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.g-rounded-10 {
  border-radius: 10px;
}

.g-py-120 {
  padding-top: 120px;
  padding-bottom: 120px;
}

.g-pa-50 {
  padding: 50px;
}

.g-pa-35 {
  padding: 35px;
}

.g-pl-22 {
  padding-left: 22px;
}

.g-color-primary-light {
  color: #b7cf63;
}

/* Responsive Images and Performance Optimizations */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
  transition: opacity 0.3s ease;
}

img[loading="lazy"]:not(.loaded) {
  opacity: 0.7;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Responsive image containers */
.img-responsive-container {
  position: relative;
  overflow: hidden;
}

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

/* Performance optimized animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* Touch-friendly button sizes for mobile */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
    font-size: 16px;
  }
  
  .floating-contact-toggle {
    min-height: 48px;
    min-width: 48px;
  }
  
  /* Larger touch targets */
  .nav-link {
    padding: 12px 16px;
  }
  
  /* Improved form controls */
  .form-control {
    min-height: 44px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  select.form-control {
    font-size: 16px;
  }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .u-header__logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-indicator {
    animation: none;
  }
  
  .floating-contact-toggle {
    animation: none;
  }
}

/* Print styles */
@media print {
  .floating-contact-widget,
  .scroll-indicator,
  .u-header,
  footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}

/* Focus indicators for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid #a5c33c;
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #a5c33c;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1001;
}

.skip-to-content:focus {
  top: 6px;
}

/* Redesigned Pill-based Breadcrumb */
.breadcrumb-redesigned {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb-redesigned .breadcrumb-item {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
}

.breadcrumb-redesigned .breadcrumb-item a {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.breadcrumb-redesigned .breadcrumb-item a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.breadcrumb-redesigned .breadcrumb-item + .breadcrumb-item::before {
  content: '>';
  color: rgba(255, 255, 255, 0.5);
  margin: 0 12px;
  font-size: 12px;
}

.breadcrumb-redesigned .breadcrumb-item.active {
  color: #ffffff;
  font-weight: 600;
}

.footer-slogan {
  line-height: 1.2;
}

/*
 * Services Section V2
 * --------------------------------------------------
 */
#services.g-bg-gray-light-v5 {
  background-color: #f8f9fa; /* A very light gray */
}

.service-card-v2 {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #a5c33c;
}

.service-card-v2-icon-container {
  width: 70px;
  height: 70px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(165, 195, 60, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.service-card-v2:hover .service-card-v2-icon-container {
  background-color: #a5c33c;
}

.service-card-v2-icon {
  font-size: 32px;
  color: #a5c33c;
  transition: color 0.3s ease;
}

.service-card-v2:hover .service-card-v2-icon {
  color: #ffffff;
}

.service-card-v2-title {
  font-size: 1.25rem; /* 20px */
  color: #343a40;
}

.service-card-v2-description {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
  flex-grow: 1; /* Allows the description to take up space and push the link down */
  margin-bottom: 20px;
}

.service-card-v2-link {
  font-weight: 600;
  color: #a5c33c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card-v2-link:hover {
  color: #8aab29;
  text-decoration: none;
}

.service-card-v2-link .fa {
  transition: transform 0.3s ease;
}

.service-card-v2:hover .service-card-v2-link .fa {
  transform: translateX(4px);
}