/* Custom styles */

/* ============================================
   Brand Color Utilities
   primary:   #4391EE
   secondary: #000000
   accent:    #253689
   bg:        #ffffff
   text:      #1a1a1a
   ============================================ */

/* Background */
.bg-primary   { background-color: #4391EE !important; }
.bg-secondary { background-color: #000000 !important; }
.bg-accent    { background-color: #253689 !important; }

/* Text */
.text-primary   { color: #4391EE !important; }
.text-secondary { color: #000000 !important; }
.text-accent    { color: #253689 !important; }

/* Border */
.border-primary   { border-color: #4391EE !important; }
.border-secondary { border-color: #000000 !important; }
.border-accent    { border-color: #253689 !important; }

/* Hover: background */
.hover\:bg-primary:hover   { background-color: #4391EE !important; }
.hover\:bg-secondary:hover { background-color: #000000 !important; }
.hover\:bg-accent:hover    { background-color: #253689 !important; }

/* Hover: text */
.hover\:text-primary:hover   { color: #4391EE !important; }
.hover\:text-secondary:hover { color: #000000 !important; }
.hover\:text-accent:hover    { color: #253689 !important; }

/* Hover: border */
.hover\:border-primary:hover   { border-color: #4391EE !important; }
.hover\:border-secondary:hover { border-color: #000000 !important; }
.hover\:border-accent:hover    { border-color: #253689 !important; }

/* Page Banner */
.page-banner {
  background: linear-gradient(to right, #4391EE, #253689);
}
.dtectable{ overflow-x: auto;}
.dtectable table{ width: 100%; border-collapse: collapse; border-spacing: 0;  overflow: hidden;}
.dtectable table td{ padding: 10px; font-size: 16px; border:1px solid #d3dce3 }
.dtectable table tr:nth-of-type(odd) td{ background: #f1f1f1; }
/* Mobile Menu */
#mobile-menu {
  display: none;
}
#mobile-menu.mobile-menu-open {
  display: block;
}

/* Hero Swiper - arrow button color */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  /* Swiper official CSS vars for color */
  --swiper-navigation-color: #ffffff;
  --swiper-pagination-color: #4391EE;
  --swiper-navigation-size: 36px;
}
@media (max-width: 767px) {
  .hero-carousel {
    height: 260px;
  }
}
.hero-carousel .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-carousel .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-carousel .swiper-button-next,
.hero-carousel .swiper-button-prev {
  color: #ffffff !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
}
.hero-carousel .swiper-pagination {
  bottom: 16px !important;
}
.hero-carousel .swiper-pagination-bullet {
  background: rgba(255,255,255,0.6) !important;
  opacity: 1 !important;
}
.hero-carousel .swiper-pagination-bullet-active {
  background: #4391EE !important;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #000000;
    border-top: 2px solid #4391EE;
    justify-content: space-around;
    align-items: stretch;
    height: 60px;
  }
  .mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
    gap: 3px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:active {
    background: #4391EE;
    color: #000000;
  }
  .mobile-bottom-nav a i {
    font-size: 18px;
  }
  /* Push page content above bottom nav */
  body {
      padding-bottom: 60px;
  }
}

/* Basic style reset */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* Navigation bar hover effects */
.group:hover .group-hover\:block {
  display: block;
}

.group:hover .group-hover\:bg-primary {
  background-color: #4391EE;
}

.group:hover .group-hover\:text-white {
  color: white;
}

/* Product card hover effects */
.hover\:shadow-xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Tab styles */
.tab-button.active {
  color: #4391EE;
  border-bottom: 2px solid #4391EE;
}

.tab-content.hidden {
  display: none;
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Swiper related styles */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Button hover effects */
.btn-hover {
  transition: all 0.3s ease;
}

.btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Animation effects */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* Responsive images */
.responsive-img {
  width: 100%;
  height: auto;
}

/* Product detail page tabs */
.product-detail-tabs .tab-content {
  display: none;
}

.product-detail-tabs .tab-content.active {
  display: block;
}

/* Product Gallery Swiper arrows - yellow */
.product-gallery .swiper-button-next,
.product-gallery .swiper-button-prev {
  color: #4391EE !important;
  --swiper-navigation-color: #4391EE;
}
.product-gallery .swiper-button-next::after,
.product-gallery .swiper-button-prev::after {
  color: #4391EE !important;
}
.product-gallery .swiper-pagination-bullet-active {
  background: #4391EE !important;
}

/* Product Gallery Mobile Height */
@media (max-width: 767px) {
  .product-gallery .swiper-slide img {
    height: 240px !important;
  }
}

/* Mobile adaptation */
@media (max-width: 768px) {
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .overlay.show {
    display: block;
  }
}

/* Loading animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form validation styles */
.form-error {
  border-color: #e53e3e !important;
}

.form-success {
  border-color: #38a169 !important;
}

.error-message {
  color: #e53e3e;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Button loading state */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Focus styles */
.focus-visible {
  outline: 2px solid #4391EE;
  outline-offset: 2px;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Progress bar */
.progress-bar {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-value {
  height: 100%;
  background-color: #4391EE;
  transition: width 0.3s ease;
}

/* Search box styles */
.search-box {
  position: relative;
  display: inline-block;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.search-box i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
}

/* Breadcrumb navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #718096;
}

.breadcrumb a {
  color: #253689;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 0.5rem;
  color: #cbd5e0;
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.badge-primary {
  background-color: #4391EE;
  color: white;
}

.badge-secondary {
  background-color: #000000;
  color: white;
}

.badge-success {
  background-color: #38a169;
  color: white;
}

.badge-warning {
  background-color: #d69e2e;
  color: white;
}

.badge-danger {
  background-color: #e53e3e;
  color: white;
}

.form_contact textarea{height: 150px;}
.areatextClass::-webkit-input-placeholder { color: red!important;}
.aligncenter {
  display: block !important;
  margin: 0 auto!important;
}
.wpcf7 fieldset{display:none;}
.wpcf7-response-output,.wpcf7-validation-errors {display: none !important;}
span.wpcf7-not-valid-tip {display: none;}
.screen-reader-response {display: none !important;}