/* Responsive Css */

/* ===== TRENDING PRODUCT VIDEO SECTION ===== */

/* Remove default black bar overlay */
.project-style-two .project-block-two .inner-box .bg-layer::before {
  display: none !important;
}

/* Clean video thumbnail - no overlays by default */
.project-style-two .project-block-two .inner-box .bg-layer {
  background: none;
}

/* Unique 3D Tilt Effect on Hover */
.project-style-two .project-block-two .inner-box {
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

/* Product Gallery - Image Display Fix */
.product-gallery-section .project-block-two .inner-box {
  position: relative;
  display: block;
  overflow: hidden;
  /* height: 500px; */
  border-radius: 15px;
}

.product-gallery-section .project-block-two .inner-box .bg-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.5s ease;
}

.product-gallery-section .project-block-two .inner-box:hover .bg-layer {
  transform: scale(1.05);
}

/* Responsive heights for product gallery */
/* @media (max-width: 1199px) {
  .product-gallery-section .project-block-two .inner-box {
    height: 450px;
  }
}

@media (max-width: 991px) {
  .product-gallery-section .project-block-two .inner-box {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .product-gallery-section .project-block-two .inner-box {
    height: 350px;
  }
}

@media (max-width: 575px) {
  .product-gallery-section .project-block-two .inner-box {
    height: 300px;
  }
} */

.project-style-two .project-block-two .inner-box:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Glassmorphism Product Overlay */
.project-style-two .product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 25px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.project-style-two .project-block-two .inner-box:hover .product-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.project-style-two .product-overlay .upper-box {
  margin-bottom: 15px;
  animation: slideUpFade 0.8s ease-out;
}

.project-style-two .product-overlay .upper-box h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-style-two .product-overlay .upper-box p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  margin: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.project-style-two .product-overlay .lower-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideUpFade 0.8s ease-out 0.1s backwards;
}

.project-style-two .product-overlay .lower-box h6 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.project-style-two .product-overlay .lower-box h6 i {
  color: var(--theme-color);
  font-size: 18px;
  margin-right: 8px;
  filter: drop-shadow(0 0 8px var(--theme-color));
}

/* Trending Video Badge with Glow */
.project-style-two .product-overlay .video-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #ff6b35 100%);
  padding: 8px 15px;
  border-radius: 25px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.project-style-two .product-overlay .video-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.6);
}

.project-style-two .product-overlay .video-badge i {
  font-size: 14px;
  animation: spin 3s linear infinite;
}

/* Enhanced Play Icon with Ripple Effect */
.project-style-two .play-icon {
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

.project-style-two .play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: ripple 1.5s infinite;
}

.project-style-two .project-block-two .inner-box:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.3) rotate(360deg);
  background: linear-gradient(135deg, var(--theme-color) 0%, #ff6b35 100%);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
}

/* Video Thumbnail Zoom with Filter Effect */
.project-style-two .bg-layer.video-thumb {
  overflow: hidden;
  transition: all 0.5s ease;
}

.project-style-two .thumb-video {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.9);
}

.project-style-two .project-block-two .inner-box:hover .thumb-video {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}

/* Trending Keyframe Animations */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.7);
  }
}

@keyframes ripple {
  0% {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===== TRENDING GLASSMORPHISM VIDEO MODAL ===== */

/* Modal Backdrop with Blur */
.video-modal {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.75) !important;
  animation: fadeIn 0.3s ease-out;
}

/* Glassmorphism Modal Content */
.video-modal-content {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(255, 107, 53, 0.1);
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Video Element with Rounded Corners */
.video-modal video {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Trending Close Button */
.video-close {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-weight: 300 !important;
  font-size: 28px !important;
  line-height: 1;
}

.video-close:hover {
  background: linear-gradient(
    135deg,
    var(--theme-color) 0%,
    #ff6b35 100%
  ) !important;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.6);
  border-color: transparent;
}

/* Modal Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Add glow effect to video when playing */
.video-modal video:hover {
  box-shadow:
    0 0 40px rgba(255, 107, 53, 0.3),
    0 10px 40px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

/* ===== TRENDING PRODUCT NAME BAR ===== */

/* Product Card Hover Effect */
.project-block-three .inner-box {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-block-three .inner-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image Zoom on Hover */
.project-block-three .inner-box .image-box {
  overflow: hidden;
  position: relative;
}

.project-block-three .inner-box .image-box img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-block-three .inner-box:hover .image-box img {
  transform: scale(1.08);
}

/* Hide default text-box */
.project-block-three .inner-box .text-box {
  display: none;
}

/* Trending Glassmorphism Product Name Bar - Always Visible */
.project-block-three .inner-box .image-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.project-block-three .inner-box:hover .image-box::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Product Name Overlay Bar - Always Visible */
.project-block-three .inner-box::before {
  content: attr(data-product-name);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.project-block-three .inner-box:hover::before {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border-top-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.3);
}

/* Enhanced View Button */
.project-block-three .inner-box .view-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 15;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.project-block-three .inner-box:hover .view-btn {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.project-block-three .inner-box .view-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.project-block-three .inner-box .view-btn a:hover {
  background: linear-gradient(135deg, var(--theme-color) 0%, #ff6b35 100%);
  border-color: transparent;
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.6);
}

.project-block-three .inner-box .view-btn a i {
  transition: transform 0.3s ease;
  font-size: 22px;
}

.project-block-three .inner-box .view-btn a:hover i {
  transform: rotate(90deg) scale(1.2);
}

/* Trending Badge - Top Right Corner - HIDDEN */
.project-block-three .inner-box::after {
  display: none;
}

/* ===== RESPONSIVE PRODUCT NAME BAR ===== */

/* Mobile & Tablet Adjustments */
@media only screen and (max-width: 991px) {
  .project-block-three .inner-box::before {
    font-size: 14px;
    padding: 12px 15px;
  }

  .project-block-three .inner-box .view-btn a {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .project-block-three .inner-box::after {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media only screen and (max-width: 767px) {
  .project-block-three .inner-box::before {
    font-size: 13px;
    padding: 10px 12px;
  }

  .project-block-three .inner-box:hover {
    transform: translateY(-4px);
  }
}

@media only screen and (max-width: 575px) {
  .project-block-three .inner-box::before {
    font-size: 12px;
    padding: 8px 10px;
  }

  .project-block-three .inner-box .view-btn a {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* ===== PRODUCT DETAILS PAGE - GLASS EFFECT STYLING ===== */

/* Product Details Section */
.product-details-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* Sidebar Styling */
.product-sidebar {
  min-width: 280px;
  max-width: 100%;
}

.product-sidebar .sidebar-widget {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 25px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.product-sidebar .widget-title h3 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--theme-color);
  position: relative;
}

.product-sidebar .widget-title h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--theme-color), #ff6b35);
}

.product-sidebar .product-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-sidebar .product-list li {
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.product-sidebar .product-list li a {
  display: block;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: normal;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}

.product-sidebar .product-list li a:hover,
.product-sidebar .product-list li.active a {
  background: linear-gradient(135deg, var(--theme-color) 0%, #ff6b35 100%);
  color: #ffffff;
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
  border-color: transparent;
}

/* Product Details Content */
.product-details-content {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 25px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
}

.product-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(255, 107, 53, 0.2);
}

.product-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-header .product-subtitle {
  font-size: 16px;
  color: #666;
  font-style: italic;
}

/* Specification Tables */
.specification-table {
  position: relative;
}

.specification-table .table-header {
  margin-bottom: 20px;
}

.specification-table .table-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  display: flex;
  align-items: center;
  gap: 12px;
}

.specification-table .table-header h3 i {
  font-size: 28px;
  color: var(--theme-color);
}

/* Glass Effect Table */
.glass-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  table-layout: fixed;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--theme-color) 0%, #ff6b35 100%);
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #ff6b35 0%, var(--theme-color) 100%);
}

.glass-table thead tr {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.9) 0%,
    rgba(255, 107, 53, 0.7) 100%
  );
}

.glass-table thead th {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.glass-table thead th:first-child {
  width: 40%;
}

.glass-table thead th:last-child {
  width: 60%;
}

.glass-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-table tbody tr:hover {
  background: rgba(255, 107, 53, 0.1);
  transform: scale(1.01);
}

.glass-table tbody tr:last-child {
  border-bottom: none;
}

.glass-table tbody td {
  padding: 14px 20px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.glass-table tbody td:first-child {
  color: #222;
  font-weight: 600;
  width: 40%;
}

.glass-table tbody td:last-child {
  width: 60%;
}

/* Table Note */
.table-note {
  margin-top: 15px;
  padding: 15px 20px;
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  border-radius: 8px;
}

.table-note p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.table-note strong {
  color: #222;
  font-weight: 600;
}

/* Contact CTA */
.contact-cta {
  margin-top: 50px;
}

.contact-cta .cta-inner {
  background: linear-gradient(135deg, var(--theme-color) 0%, #ff6b35 100%);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-cta .cta-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.contact-cta .cta-inner h4 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.contact-cta .cta-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.contact-cta .cta-inner .theme-btn {
  background: #ffffff;
  color: var(--theme-color);
  position: relative;
  z-index: 2;
}

.contact-cta .cta-inner .theme-btn:hover {
  background: #222;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Styling */
@media only screen and (max-width: 991px) {
  .product-details-content {
    padding: 25px;
  }

  .product-header h2 {
    font-size: 26px;
  }

  .specification-table .table-header h3 {
    font-size: 19px;
  }

  .glass-table {
    table-layout: auto;
  }

  .glass-table thead th,
  .glass-table tbody td {
    padding: 12px 15px;
    font-size: 13px;
  }

  .glass-table thead th:first-child,
  .glass-table tbody td:first-child {
    width: auto;
  }

  .glass-table thead th:last-child,
  .glass-table tbody td:last-child {
    width: auto;
  }

  .product-sidebar {
    margin-bottom: 30px;
    min-width: auto;
  }

  .product-sidebar .product-list li a {
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) {
  .product-details-content {
    padding: 20px 15px;
  }

  .product-header {
    margin-bottom: 30px;
  }

  .product-header h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .specification-table .table-header h3 {
    font-size: 17px;
  }

  .glass-table {
    font-size: 12px;
    table-layout: auto;
  }

  .glass-table thead th,
  .glass-table tbody td {
    padding: 10px;
    font-size: 12px;
  }

  .specification-table {
    margin-bottom: 30px;
  }

  .contact-cta .cta-inner {
    padding: 25px 15px;
  }

  .contact-cta .cta-inner h4 {
    font-size: 20px;
  }
}

@media only screen and (max-width: 575px) {
  .product-details-content {
    padding: 15px 10px;
  }

  .product-header h2 {
    font-size: 20px;
  }

  .specification-table .table-header h3 {
    font-size: 16px;
  }

  .glass-table thead th,
  .glass-table tbody td {
    padding: 8px;
    font-size: 11px;
  }

  .product-sidebar .sidebar-widget {
    padding: 20px 15px;
  }

  .product-sidebar .product-list li a {
    font-size: 12px;
    padding: 10px 12px;
  }

  .contact-cta .cta-inner h4 {
    font-size: 18px;
  }
}

/* Footer - Equal height columns on desktop */
@media only screen and (min-width: 992px) {
  .footer-style-four .footer-top .info-box .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .footer-style-four .footer-top .info-box .single-column {
    display: flex;
  }

  .footer-style-four .footer-top .info-box .single-item {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .footer-style-four .footer-top .info-box .single-item .inner-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    justify-content: center;
  }
}

/* Override default fixed widths - Allow flexible layout */
.header-style-four .header-lower .main-content .info-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.header-style-four .header-lower .main-content .info-list li {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
}

.header-style-four .header-lower .main-content .info-list li h5 {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  word-break: keep-all;
}

.header-style-four .header-lower .main-content .info-list li h5 i {
  flex-shrink: 0;
  margin-right: 8px;
}

/* Extra spacing for location icon */
.header-style-four .header-lower .main-content .info-list li h5 i.flaticon-map {
  margin-right: 10px;
}

.header-style-four .header-lower .main-content .info-list li h5 a,
.header-style-four .header-lower .main-content .info-list li h5 span {
  white-space: nowrap;
}

/* Extra large screens - FULL contact details visible */
@media only screen and (min-width: 1700px) {
  .header-style-four .header-lower .main-content .info-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-style-four .header-lower .main-content .info-list li {
    flex: 1;
    padding: 15px 12px;
  }

  .header-style-four .header-lower .main-content .info-list li h5 {
    font-size: 15px;
    white-space: normal;
    line-height: 1.4;
  }

  .header-style-four .header-lower .main-content .info-list li h5 i {
    font-size: 16px;
    margin-right: 8px;
    vertical-align: middle;
  }

  .header-style-four
    .header-lower
    .main-content
    .info-list
    li
    h5
    i.flaticon-map {
    margin-right: 10px;
  }
}

/* Large screens - Slightly smaller but still FULL details */
@media only screen and (min-width: 1500px) and (max-width: 1699px) {
  .header-style-four .header-lower .main-content .info-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-style-four .header-lower .main-content .info-list li {
    flex: 1;
    padding: 15px 10px;
  }

  .header-style-four .header-lower .main-content .info-list li h5 {
    font-size: 14px;
    white-space: normal;
    line-height: 1.4;
  }

  .header-style-four .header-lower .main-content .info-list li h5 i {
    font-size: 15px;
    margin-right: 7px;
    vertical-align: middle;
  }

  .header-style-four
    .header-lower
    .main-content
    .info-list
    li
    h5
    i.flaticon-map {
    margin-right: 9px;
  }
}

/* Medium-large screens - Compact but FULL text */
@media only screen and (min-width: 1400px) and (max-width: 1499px) {
  .header-style-four .header-lower .main-content .info-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-style-four .header-lower .main-content .info-list li {
    flex: 1;
    padding: 15px 8px;
  }

  .header-style-four .header-lower .main-content .info-list li h5 {
    font-size: 13px;
    white-space: normal;
    line-height: 1.3;
  }

  .header-style-four .header-lower .main-content .info-list li h5 i {
    font-size: 14px;
    margin-right: 6px;
    vertical-align: middle;
  }

  .header-style-four
    .header-lower
    .main-content
    .info-list
    li
    h5
    i.flaticon-map {
    margin-right: 8px;
  }
}

/* Smaller desktop - Very compact FULL details */
@media only screen and (min-width: 1300px) and (max-width: 1399px) {
  .header-style-four .header-lower .main-content .info-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-style-four .header-lower .main-content .info-list li {
    flex: 1;
    padding: 12px 6px;
  }

  .header-style-four .header-lower .main-content .info-list li h5 {
    font-size: 12px;
    white-space: normal;
    line-height: 1.3;
  }

  .header-style-four .header-lower .main-content .info-list li h5 i {
    font-size: 13px;
    margin-right: 5px;
    vertical-align: middle;
  }

  .header-style-four
    .header-lower
    .main-content
    .info-list
    li
    h5
    i.flaticon-map {
    margin-right: 7px;
  }
}

@media only screen and (max-width: 1699px) {
  .main-header .menu-right-content li.contact-link,
  .main-header .menu-right-content .language-box,
  .banner-section .pattern-layer,
  .banner-section .pattern-layer-2,
  .industries-style-three .image-layer,
  .banner-top-section .inner-box .video-box,
  .banner-top-section .inner-box p,
  .banner-section .banner-right-content,
  .banner-section::before {
    display: none;
  }

  .intro-section .outer-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .project-section .pattern-layer .pattern-2 {
    display: none;
  }

  .project-section {
    padding-right: 0px;
  }

  .service-style-two .outer-container {
    padding-right: 30px;
  }

  .company-section .outer-container {
    padding: 0px;
  }

  .header-style-four .header-lower .main-menu .navigation > li {
    padding: 0px 0px;
    margin: 0px 18px;
    border: none;
  }

  .header-style-four .header-lower .main-content {
    border: none;
  }

  .header-style-four .outer-box {
    gap: 20px;
  }

  .service-section .lower-box {
    padding-right: 0px;
    margin-right: 0px;
  }

  .service-section .lower-box .single-service-box,
  .industries-section .inner-container .single-box {
    position: relative;
  }

  .industries-section .inner-container {
    padding-left: 0px;
    margin-left: 0px;
  }

  .industries-section .inner-container .tabs-box {
    border-top: 1px solid #e4e9ec;
  }

  .funfact-block-one .inner-box {
    padding-left: 15px;
  }

  .funfact-block-one .inner-box .bar-shape,
  .funfact-block-one .inner-box::before {
    display: none;
  }
}

@media only screen and (max-width: 1649px) {
}

@media only screen and (max-width: 1599px) {
  .banner-top-section .inner-box h2 {
    font-size: 80px;
    line-height: 90px;
  }

  .funfact-block-one .inner-box h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .header-style-four .outer-box .user-box {
    display: none;
  }
}

@media only screen and (max-width: 1399px) {
  .main-header .menu-right-content .search-form {
    margin-left: 0px;
  }

  .main-header .header-lower .left-column {
    gap: 30px;
  }

  .main-menu .navigation > li {
    margin: 0px 7px;
  }

  .main-header .menu-right-content .search-form {
    width: 180px;
  }

  .main-header .bg-color {
    display: none;
  }
}

@media only screen and (max-width: 1299px) {
  .header-style-four .header-lower .main-menu .navigation > li {
    margin-left: 8px;
    margin-right: 8px;
  }

  /* Hide contact info on smaller desktops where space is limited */
  .header-style-four .header-lower .main-content .info-list {
    display: none;
  }

  .history-section .tab-btn-box .tab-btns {
    gap: 100px;
  }
}

@media only screen and (max-width: 1200px) {
  .main-menu,
  .sticky-header,
  .main-header.style-one .outer-container:before {
    display: none !important;
  }

  .menu-area .mobile-nav-toggler {
    display: block;
    padding: 10px;
    z-index: 99;
  }

  /* Ensure mobile menu appears above all content */
  .mobile-menu {
    z-index: 999999 !important;
  }

  .mobile-menu .menu-box {
    z-index: 999999 !important;
  }

  .mobile-menu .menu-backdrop {
    z-index: 999998 !important;
  }

  .banner-section .outer-container {
    padding-left: 0px;
  }

  .banner-top-section .based-content {
    position: relative;
    width: 100%;
  }

  .about-section .inner-content .award-box {
    left: 0px;
    z-index: 1;
  }

  .industries-section .bg-layer,
  .industries-section::before {
    display: none;
  }

  .header-style-two .header-lower .outer-box {
    padding: 15px;
  }

  .header-top .top-inner .text-box {
    display: none;
  }

  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px 50px 15px;
  }

  .header-style-two .logo-box {
    position: relative;
    left: 0px;
    top: 0px;
  }

  .header-style-two .support-box {
    position: relative;
    top: 0px;
    right: 0px;
  }

  .company-section .title-column {
    width: 100%;
  }

  .company-section .single-column {
    width: 33.333%;
  }

  .chooseus-style-two .image-box .image-shape {
    display: none;
  }

  .industries-style-two .industries-block-one {
    width: 50%;
  }

  .header-style-two .menu-area .mobile-nav-toggler {
    background-color: var(--theme-color);
  }

  .banner-style-three {
    padding: 0px;
  }

  .page-title .bg-layer {
    background-position: left center;
  }
}

@media only screen and (min-width: 768px) {
  .main-menu .navigation > li > ul,
  .main-menu .navigation > li > ul > li > ul,
  .main-menu .navigation > li > .megamenu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
  }
}

@media only screen and (max-width: 991px) {
  .banner-top-section .inner-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .about-section .content-box .inner-box {
    margin-bottom: 40px;
  }

  .service-section .sec-title {
    padding-left: 0px;
  }

  .service-section .upper-box .count-box,
  .project-section .upper-box .count-box {
    text-align: left;
    margin-bottom: 20px;
  }

  .industries-section .sec-title a {
    position: relative;
    bottom: 0px;
    margin-top: 10px;
  }

  .industries-section .tabs-box .content-box {
    margin-left: 0px;
  }

  .industries-section .lower-box {
    display: block;
  }

  .industries-section .lower-box .text-box {
    margin-bottom: 20px;
  }

  .project-section .sec-title {
    padding-left: 0px;
  }

  .project-section .tab-btn-box {
    margin-bottom: 30px;
  }

  .working-section .right-content .tab-btns {
    position: relative;
    left: 0px;
    height: auto;
  }

  .working-section .right-content .tab-btns li {
    position: relative;
    display: inline-block;
    clip-path: none;
  }

  .working-section .right-content .tab-btns {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .working-section .line-shape {
    display: none;
  }

  .working-section .right-content {
    padding-left: 0px;
  }

  .working-section .left-content {
    padding-right: 0px;
  }

  .news-section .sec-title a,
  .industries-style-two .sec-title a,
  .testimonial-style-two .sec-title a {
    position: relative;
    bottom: 0px;
    margin-top: 15px;
  }

  .download-section .single-item {
    padding: 0px;
    margin-bottom: 15px;
  }

  .download-section .single-column:last-child .single-item {
    margin-bottom: 0px;
  }

  .main-footer .footer-widget {
    margin: 0px 0px 30px 0px !important;
  }

  .main-footer .widget-section {
    padding-bottom: 70px;
  }

  .footer-bottom .bottom-inner {
    display: block;
  }

  .footer-bottom .bottom-inner .left-column {
    text-align: center;
  }

  .footer-bottom .bottom-inner .left-column .social-links {
    justify-content: center;
  }

  .footer-bottom .bottom-inner .middle-column {
    padding: 0px;
    border: none;
  }

  .footer-bottom .bottom-inner .right-column {
    text-align: center;
  }

  .header-style-two .support-box {
    display: none;
  }

  .pricing-section .inner-box {
    margin-left: 0px;
    margin-top: 30px;
  }

  .process-section .content-box {
    margin-bottom: 40px;
  }

  .news-style-two .content-box {
    margin-right: 0px;
    margin-bottom: 40px;
  }

  .footer-style-two .big-text,
  .footer-style-two::before,
  .footer-style-two .footer-bottom::before {
    display: none;
  }

  .footer-style-two .footer-bottom .copyright p {
    color: #fff;
  }

  .footer-style-two .footer-bottom {
    text-align: center;
  }

  .footer-bottom .footer-nav {
    justify-content: center;
  }

  .footer-style-two .footer-widget {
    margin: 0px 0px 30px 0px !important;
  }

  .footer-style-two .widget-section {
    padding-bottom: 60px;
  }

  .footer-style-two .links-widget .links-list {
    margin-bottom: 20px;
  }

  .header-style-three .header-top-two .btn-box,
  .about-style-two .pattern-layer {
    display: none;
  }

  .about-style-two::before {
    width: 100%;
  }

  .about-style-two .content-box {
    margin-bottom: 40px;
  }

  .about-style-two .inner-content .fact-box h6 {
    color: #fff;
  }

  .about-style-two .inner-content .inner-box .single-item h3,
  .about-style-two .inner-content .inner-box .single-item .inner a {
    color: #fff;
  }

  .about-style-two .inner-content .inner-box .single-item p {
    color: #fff;
    opacity: 0.7;
  }

  .about-style-two .inner-content .fact-box {
    margin-bottom: 40px;
  }

  .industries-style-three .left-content .lower-box {
    max-width: 100%;
    margin-bottom: 40px;
    padding-left: 30px;
  }

  .industries-style-three .left-content .lower-box::before {
    display: none;
  }

  .industries-style-three {
    padding-bottom: 80px;
  }

  .features-section .title-box {
    display: block;
  }

  .news-block-three .inner-box {
    gap: 30px;
  }

  .contact-section .content-box {
    margin-left: 0px;
    margin-top: 30px;
  }

  .contact-section::before {
    display: none;
  }

  .footer-style-three .footer-widget {
    margin: 0px 0px 30px 0px !important;
  }

  .footer-style-three .widget-section {
    padding-bottom: 90px;
  }

  .footer-bottom-two .bottom-inner .middle-column {
    gap: 20px;
  }

  .banner-style-four .owl-nav {
    display: none;
  }

  .about-style-three .image-box {
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .about-style-three .content-box {
    margin-top: 0px;
  }

  .project-style-two .link-text-box {
    position: relative;
    bottom: 0px;
    margin-top: 15px;
  }

  .header-style-four .header-lower {
    padding: 0px;
  }

  .page-title .outer-container {
    padding-left: 400px;
  }

  .history-section .tab-btn-box .tab-btns {
    gap: 60px;
  }

  .contact-style-two .tab-btn-box .owl-nav {
    display: none;
  }

  .page-title .content-box h1 {
    font-size: 50px;
    line-height: 58px;
  }

  .sortable-masonry .filter-tabs {
    gap: 20px;
  }

  .project-details .upper-box .image-box {
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .blog-details-content {
    margin-bottom: 40px;
  }

  .news-block-three .inner-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .news-block-three .inner-box .content-box h3 {
    font-size: 24px;
    line-height: 32px;
  }
}

@media only screen and (max-width: 767px) {
  .banner-top-section .inner-box h2 {
    font-size: 60px;
    line-height: 70px;
  }

  .banner-top-section .inner-box {
    padding: 70px 15px;
  }

  .banner-section .banner-carousel .content-box {
    padding: 0px 15px 70px 15px;
  }

  .banner-section .banner-carousel .content-box .image-layer {
    display: none;
  }

  .banner-section .banner-carousel .content-box p,
  .banner-section .banner-carousel .content-box .btn-box {
    padding-left: 0px;
  }

  .about-section .pattern-layer {
    display: none;
  }

  .about-section {
    padding-top: 40px;
    padding-bottom: 70px;
  }

  .sec-title h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .service-section .upper-box .count-box h2 {
    font-size: 100px;
  }

  .service-section .upper-box {
    padding-top: 70px;
    padding-left: 30px;
  }

  .service-section .bg-layer,
  .service-section .lower-box .owl-nav {
    display: none;
  }

  .industries-section {
    padding-top: 62px;
  }

  .industries-section .tab-btns .tab-btn {
    border-left: none;
    border-bottom: 1px solid #e4e9ec !important;
  }

  .project-section {
    padding: 62px 0px 40px 0px;
  }

  .project-section .upper-box .count-box h2 {
    font-size: 100px;
  }

  .working-section,
  .news-section {
    padding: 62px 0px 55px 0px;
  }

  .chooseus-section {
    padding: 62px 0px 20px 0px;
  }

  .testimonial-section .right-content {
    padding: 70px 0px;
  }

  .footer-bottom .bottom-inner .middle-column {
    min-width: 100%;
  }

  .banner-style-two .owl-nav,
  .banner-style-two .owl-dots {
    display: none;
  }

  .banner-style-two .content-box h2 {
    font-size: 50px;
    line-height: 58px;
  }

  .banner-style-two .slide-item {
    padding: 230px 0px 100px 0px;
  }

  .service-style-two {
    padding: 62px 0px 40px 0px;
  }

  .service-block-two .inner-box {
    display: block;
  }

  .service-block-two .inner-box .image-box {
    max-width: 350px;
  }

  .service-block-two .inner-box .image-box {
    border: none;
  }

  .service-style-two .owl-nav,
  .service-style-two .lower-box .line {
    display: none;
  }

  .service-style-two .lower-box {
    padding-left: 0px;
    justify-content: center;
  }

  .company-section .single-column {
    width: 100%;
  }

  .company-section {
    padding-bottom: 300px;
  }

  .chooseus-style-two {
    padding: 62px 0px 25px 0px;
  }

  .chooseus-style-two .image-box .image {
    margin: 30px 0px;
  }

  .industries-style-two {
    padding-top: 62px;
  }

  .industries-style-two .industries-block-one {
    width: 100%;
  }

  .pricing-section {
    padding: 62px 0px 70px 0px;
  }

  .pricing-section .title-box {
    padding-right: 0px;
    margin-bottom: 30px;
  }

  .pricing-section .feature-box {
    margin: 0px;
    padding-left: 0px;
  }

  .pricing-section .feature-box::before {
    display: none;
  }

  .process-section,
  .news-style-two {
    padding: 62px 0px 40px 0px;
  }

  .testimonial-style-two .owl-nav,
  .testimonial-style-two .owl-dots {
    display: none;
  }

  .testimonial-style-two {
    padding: 80px 0px 70px 0px;
  }

  .faq-section,
  .clients-section {
    padding: 62px 0px 70px 0px;
  }

  .clients-section .content-box {
    margin: 0px;
    padding: 0px 15px;
  }

  .header-top-two .top-inner .schedule-box {
    display: none;
  }

  .banner-style-three .slide-item {
    padding-top: 100px;
  }

  .search-popup .upper-box {
    padding: 40px 15px;
  }

  .products-section,
  .about-style-two,
  .team-section,
  .project-style-two,
  .news-style-three {
    padding: 62px 0px;
  }

  .about-style-two .content-box .left-content .lower-box {
    margin-bottom: 30px;
  }

  .about-style-two .inner-content .fact-box h2 {
    font-size: 120px;
    line-height: 120px;
  }

  .industries-style-three {
    padding: 62px 0px 30px 0px;
  }

  .project-style-two .owl-nav {
    display: none;
  }

  .project-style-two .lower-box {
    padding-left: 0px;
    justify-content: center;
  }

  .project-style-two .lower-box .line {
    display: none;
  }

  .features-section .bg-layer {
    background-position: left center;
  }

  .features-section {
    padding-top: 62px;
  }

  .news-block-three .inner-box {
    display: block;
  }

  .news-block-three .inner-box .post-info {
    margin-bottom: 20px;
  }

  .news-block-three .inner-box .image-box {
    margin-bottom: 30px;
  }

  .contact-section {
    padding: 62px 0px 70px 0px;
  }

  .footer-style-three .widget-section {
    padding: 80px 0px 50px 0px;
  }

  .footer-bottom-two .bottom-inner {
    display: block;
    text-align: center;
  }

  .footer-bottom-two .bottom-inner .middle-column {
    justify-content: center;
    margin: 15px 0px;
  }

  .footer-bottom-two .language-box {
    justify-content: center;
  }

  .banner-style-four .content-box h2 {
    font-size: 50px;
    line-height: 58px;
  }

  .banner-style-four .slide-item {
    padding: 240px 0px 100px 0px;
  }

  .about-style-three {
    padding: 70px 0px;
  }

  .about-style-three .content-box .inner-box .left-content {
    margin-bottom: 30px;
  }

  .service-style-three {
    padding: 62px 0px 40px 0px;
  }

  .project-style-two.alternat-2 {
    padding-bottom: 40px;
  }

  .footer-bottom .bottom-inner {
    text-align: center;
  }

  .footer-style-four .footer-bottom .social-links {
    justify-content: center;
    margin: 15px 0px;
  }

  .page-title .outer-container {
    padding-left: 0px;
  }

  .page-title .based-content {
    position: relative;
    width: 100%;
  }

  .page-title {
    padding-top: 70px;
    text-align: center;
    padding-bottom: 0px;
  }

  .page-title .content-box .bread-crumb {
    justify-content: center;
    margin-bottom: 50px;
  }

  .history-section {
    padding: 62px 0px;
  }

  .history-section .tabs-inner .image-box {
    margin: 0px;
  }

  .sec-pad-2 {
    padding: 70px 0px 40px 0px !important;
  }

  .contact-style-two,
  .faq-page-section,
  .testimonial-page-section,
  .service-page-two-section,
  .service-page-three-section {
    padding: 70px 0px 40px 0px;
  }

  .contact-style-three {
    padding-bottom: 70px;
  }

  .service-page-section,
  .service-details {
    padding: 70px 0px;
  }

  .industries-section {
    padding-bottom: 70px;
  }

  .industries-details {
    padding: 62px 0px 40px 0px;
  }

  .service-sidebar {
    margin-bottom: 40px;
  }

  .sortable-masonry .filter-tabs {
    display: block;
  }

  .sortable-masonry .filter-tabs li {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    margin-right: 15px;
  }

  .project-style-three,
  .project-style-five {
    padding: 62px 0px;
  }

  .project-details {
    padding: 70px 0px 40px 0px;
  }

  .sidebar-page-container {
    padding: 70px 0px;
  }

  .industries-section {
    padding-bottom: 0px;
  }

  .project-block-one .inner-box {
    width: 100%;
  }

  .project-section {
    padding-bottom: 70px;
  }

  .features-section .sec-title p {
    margin-bottom: 20px;
  }

  .page-title .outer-container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media only screen and (max-width: 599px) {
  .main-header .menu-right-content .btn-box {
    display: none;
  }

  .banner-top-section .inner-box h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .about-section .content-box .inner-box {
    display: block;
  }

  .about-section .content-box .inner-box .single-team {
    width: 100%;
    margin-bottom: 30px;
  }

  .service-style-two .outer-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-style-two .links-widget .social-box .download-box {
    display: block;
  }

  .footer-style-two .links-widget .social-box {
    display: block;
  }

  .footer-style-two .links-widget .social-box .social-links {
    margin-bottom: 20px;
  }

  .footer-style-two .links-widget .social-box .download-box .icon-box {
    margin-bottom: 15px;
  }

  .footer-bottom .footer-nav {
    display: block;
  }

  .download-section .bg-layer {
    display: none;
  }

  .header-top .top-inner .right-column .social-links {
    display: none;
  }

  .pricing-section .inner-container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .features-section .tabs-box .tabs-content .image-box {
    width: 200px;
  }

  .contact-section .content-box {
    gap: 30px;
  }

  .header-top-three .top-inner h6 {
    display: block;
    text-align: center;
  }

  .header-style-four .outer-container {
    padding-right: 15px;
  }

  .footer-style-four .footer-bottom .footer-nav p {
    text-align: center;
  }

  .history-section .tab-btn-box .tab-btns {
    gap: 30px;
  }

  .news-block-four .inner-box .content-box {
    position: relative;
    max-width: 100%;
  }
}

@media only screen and (max-width: 499px) {
  .mobile-menu {
    width: 100%;
  }

  .process-section .content-box .inner-box {
    display: block;
  }

  .process-section .content-box .inner-box .image-box {
    margin-bottom: 30px;
  }

  .main-header .menu-right-content {
    display: none;
  }

  .main-header .outer-box {
    display: block;
  }

  .main-header .left-column {
    justify-content: space-between;
  }

  .intro-block-one .inner-box {
    display: block;
  }

  .intro-block-one .inner-box .content-box {
    width: 100%;
    text-align: center;
  }

  .intro-block-one .inner-box .image-box {
    min-height: auto;
  }

  .about-section .inner-content .image-box {
    margin-left: 0px;
  }

  .service-section .lower-box .single-service-box .lower-content,
  .service-block-one .inner-box {
    padding-left: 30px;
  }

  .industries-section .inner-container .single-box .inner-box {
    padding-left: 0px;
  }

  .industries-section .lower-box .right-column {
    display: block;
  }

  .industries-section .lower-box .right-column .link-box {
    margin-bottom: 15px;
  }

  .working-section .left-content .inner-box {
    display: block;
  }

  .testimonial-section .left-content .shape {
    display: none;
  }

  .testimonial-section .right-content .tab-btns li {
    width: 45px;
    height: 45px;
  }

  .news-block-one .inner-box .upper-content {
    display: block;
  }

  .news-block-one .inner-box .upper-content .info-box {
    margin-bottom: 20px;
  }

  .news-section .owl-nav {
    display: none;
  }

  .news-section {
    padding-bottom: 40px;
  }

  .banner-style-two .content-box .btn-box {
    display: block;
  }

  .banner-style-two .content-box .btn-box .theme-btn {
    margin-bottom: 15px;
  }

  .pricing-section .inner-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .process-block-one .inner-box {
    display: block;
  }

  .process-block-one .inner-box .image-box {
    margin-bottom: 20px;
  }

  .faq-section .form-inner {
    padding: 40px 30px;
  }

  .header-style-three {
    position: absolute;
  }

  .banner-style-three .slide-item {
    padding-top: 250px;
  }

  .header-style-three .header-lower {
    height: 66px;
    padding: 15px 0px;
  }

  .team-block-one .inner-box .image-box {
    display: block;
  }

  .team-block-one .inner-box .image-box .image {
    margin-bottom: 15px;
  }

  .features-section .inner-container .left-content {
    padding-left: 15px;
  }

  .features-section .tabs-box .tabs-content .image-box {
    width: 100px;
  }

  .news-block-three .inner-box .image-box {
    min-width: 100%;
  }

  .contact-section .content-box {
    display: block;
  }

  .contact-section .content-box .icon-box {
    margin-bottom: 30px;
  }

  .footer-style-three .certificate-widget .inner-box .inner {
    display: block;
  }

  .footer-style-three .certificate-widget .inner-box .inner .image-box {
    margin-bottom: 15px;
  }

  .footer-bottom-two .bottom-inner .middle-column {
    display: block;
  }

  .footer-bottom-two .bottom-inner .footer-logo {
    padding-right: 0px;
    margin-bottom: 15px;
    border-right: none;
  }

  .header-style-four .outer-box .logo-box {
    width: 50%;
  }

  .header-style-four .outer-box {
    display: flex;
  }

  .banner-style-four .content-box .btn-box {
    display: block;
  }

  .banner-style-four .content-box .btn-box .btn-two {
    margin-bottom: 15px;
  }

  .about-style-three .image-box {
    padding: 0px;
  }

  .about-style-three .image-box .image-1 {
    position: relative;
    margin-bottom: 30px;
  }

  .about-style-three .image-box .image-3 {
    position: relative;
    bottom: 0px;
    margin-top: 30px;
  }

  .features-section .tab-btns li.active-btn {
    padding-left: 120px;
  }

  .history-section .tab-btn-box .tab-btns {
    gap: 10px;
  }

  .company-section .title-column .sec-title,
  .contact-style-three .content-box,
  .testimonial-page-section .testimonial-block-one .inner-box,
  .blog-sidebar .subscribe-widget .inner-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .contact-style-two .tab-btn-box {
    padding-right: 30px;
  }

  .contact-style-two .tab-btn-box .text {
    position: relative;
    top: 0px;
  }

  .page-title .content-box h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .service-block-two .inner-box .image-box .image {
    min-width: 100%;
  }

  .page-title .based-content .inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pagination {
    gap: 5px;
  }

  .project-details .info-box .single-item {
    border: none;
  }

  .news-block-four .inner-box .content-box {
    padding-left: 0px;
    padding-right: 0px;
  }

  .blog-details-content .content-one h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .blog-details-content .content-one .info-list {
    display: block;
  }

  .blog-details-content .content-one .info-list li::before {
    display: none;
  }

  .blog-details-content .content-one .info-list li {
    margin-right: 10px;
  }

  .blog-details-content blockquote {
    padding-left: 0px;
    padding-right: 0px;
  }

  .blog-details-content blockquote .icon-box {
    position: relative;
    top: 0px;
    margin-bottom: 20px;
  }

  .blog-details-content .post-nav .post-nav-btn {
    display: block;
  }

  .blog-details-content .post-nav .post-nav-btn::before {
    display: none;
  }

  .blog-details-content .post-nav .post-nav-btn .single-btn {
    margin-bottom: 15px;
  }

  /* Video Modal Responsive */
  .video-modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .video-close {
    right: 5px;
    top: -35px;
    font-size: 28px;
  }

  /* Video Thumbnail Responsive */
  .play-icon {
    width: 60px;
    height: 60px;
    font-size: 35px;
  }

  .video-title {
    font-size: 14px;
    padding: 8px 10px;
  }

  .project-style-two .project-block-two {
    margin-bottom: 30px;
  }
}

/* Extra Small Mobile Devices */
@media only screen and (max-width: 480px) {
  .banner-style-four .content-box h6 {
    font-size: 14px;
  }

  .banner-style-four .content-box h2 {
    font-size: 32px;
    line-height: 42px;
  }

  .banner-style-four .content-box h2 span {
    font-size: 32px;
  }

  .banner-style-four .content-box p {
    font-size: 14px;
  }

  .sec-title h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .sec-title h2 span {
    font-size: 28px;
  }

  .about-style-three .content-box .inner-box .left-content h3 {
    font-size: 18px;
    line-height: 26px;
  }

  .chooseus-block-two .inner-box h3 {
    font-size: 18px;
    line-height: 26px;
  }

  .working-section .right-content .content-box h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .testimonial-block-one .inner-box h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .footer-style-four .text-box h3 {
    font-size: 24px;
    line-height: 32px;
  }

  /* Video elements on small screens */
  .play-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  .video-title {
    font-size: 12px;
    padding: 6px 8px;
  }

  /* Product video section responsive */
  .project-style-two .product-overlay .upper-box h3 {
    font-size: 16px;
  }

  .project-style-two .product-overlay .upper-box p {
    font-size: 12px;
  }

  .project-style-two .product-overlay {
    padding: 15px 12px;
  }

  .project-style-two .product-overlay .lower-box h6 {
    font-size: 12px;
  }

  .project-style-two .product-overlay .video-badge {
    padding: 6px 10px;
    font-size: 10px;
  }
}

/* ================================================
   Product Image Gallery Grid Styles
   ================================================ */

.product-gallery-section {
  position: relative;
  background: #f5f5f5;
}

.product-gallery-section .sec-title h6 {
  color: var(--theme-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 15px;
}

.product-gallery-section .sec-title h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222222;
}

.product-gallery-section .sec-title h2 span {
  color: var(--theme-color);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--theme-color-rgb), 0.85) 0%,
    rgba(255, 107, 53, 0.85) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay i {
  font-size: 48px;
  color: #ffffff;
  transform: scale(0) rotate(180deg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .overlay i {
  transform: scale(1) rotate(0deg);
}

/* Add subtle animation on load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}
.gallery-item:nth-child(7) {
  animation-delay: 0.7s;
}
.gallery-item:nth-child(8) {
  animation-delay: 0.8s;
}
.gallery-item:nth-child(9) {
  animation-delay: 0.9s;
}
.gallery-item:nth-child(10) {
  animation-delay: 1s;
}
.gallery-item:nth-child(11) {
  animation-delay: 1.1s;
}
.gallery-item:nth-child(12) {
  animation-delay: 1.2s;
}

/* Responsive Styles for Product Image Gallery */
@media only screen and (max-width: 1199px) {
  .product-gallery-section .sec-title h2 {
    font-size: 42px;
  }

  .gallery-item img {
    height: 280px;
  }

  .gallery-item .overlay i {
    font-size: 42px;
  }
}

@media only screen and (max-width: 991px) {
  .product-gallery-section .sec-title h2 {
    font-size: 36px;
  }

  .gallery-item img {
    height: 260px;
  }

  .gallery-item .overlay i {
    font-size: 38px;
  }

  .gallery-item {
    border-radius: 12px;
  }
}

@media only screen and (max-width: 767px) {
  .product-gallery-section .sec-title h2 {
    font-size: 32px;
  }

  .gallery-item img {
    height: 240px;
  }

  .gallery-item .overlay i {
    font-size: 34px;
  }

  .gallery-item {
    border-radius: 10px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 575px) {
  .product-gallery-section .sec-title h2 {
    font-size: 28px;
  }

  .gallery-item img {
    height: 220px;
  }

  .gallery-item .overlay i {
    font-size: 30px;
  }

  .gallery-item {
    border-radius: 8px;
    margin-bottom: 15px;
  }
}

/* Product Slider Wrapper Styling */
.product-slider-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.product-slider-wrapper:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.product-images-carousel .slider-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin: 0 10px;
}

.product-images-carousel .slider-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.product-images-carousel .slider-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* Owl Carousel Custom Navigation */
.product-images-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

.product-images-carousel .owl-nav button {
  position: absolute;
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 24px;
  line-height: 55px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: all;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-images-carousel .owl-nav button.owl-prev {
  left: -15px;
}

.product-images-carousel .owl-nav button.owl-next {
  right: -15px;
}

.product-images-carousel .owl-nav button:hover {
  background: linear-gradient(135deg, var(--theme-color), #ff6b35) !important;
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(var(--theme-color-rgb), 0.4);
}

.product-images-carousel .owl-nav button span {
  font-size: 28px;
  font-weight: 600;
}

/* Owl Carousel Custom Dots */
.product-images-carousel .owl-dots {
  text-align: center;
  margin-top: 30px;
  padding: 0;
}

.product-images-carousel .owl-dots .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-images-carousel .owl-dots .owl-dot:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.2);
}

.product-images-carousel .owl-dots .owl-dot.active {
  width: 35px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--theme-color), #ff6b35);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(var(--theme-color-rgb), 0.4);
}

/* Zoom Animation on Slide Change */
.product-images-carousel .owl-item.active .slider-item img {
  animation: zoomIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Styles for Product Image Slider */
@media only screen and (max-width: 1199px) {
  .product-slider-wrapper {
    padding: 25px;
  }

  .product-images-carousel .slider-item img {
    height: 450px;
  }

  .product-images-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 22px;
  }
}

@media only screen and (max-width: 991px) {
  .product-slider-wrapper {
    padding: 20px;
    border-radius: 15px;
  }

  .product-images-carousel .slider-item img {
    height: 400px;
  }

  .product-images-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 20px;
  }

  .product-images-carousel .owl-nav button.owl-prev {
    left: -10px;
  }

  .product-images-carousel .owl-nav button.owl-next {
    right: -10px;
  }
}

@media only screen and (max-width: 767px) {
  .product-slider-wrapper {
    padding: 15px;
    border-radius: 12px;
  }

  .product-images-carousel .slider-item {
    margin: 0 5px;
  }

  .product-images-carousel .slider-item img {
    height: 350px;
    border-radius: 12px;
  }

  .product-images-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
  }

  .product-images-carousel .owl-nav button.owl-prev {
    left: -5px;
  }

  .product-images-carousel .owl-nav button.owl-next {
    right: -5px;
  }

  .product-images-carousel .owl-dots {
    margin-top: 20px;
  }

  .product-images-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }

  .product-images-carousel .owl-dots .owl-dot.active {
    width: 30px;
  }
}

@media only screen and (max-width: 575px) {
  .product-slider-wrapper {
    padding: 12px;
    border-radius: 10px;
  }

  .product-images-carousel .slider-item img {
    height: 280px;
    border-radius: 10px;
  }

  .product-images-carousel .owl-nav button {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
  }

  .product-images-carousel .owl-dots {
    margin-top: 15px;
  }

  .product-images-carousel .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }

  .product-images-carousel .owl-dots .owl-dot.active {
    width: 25px;
  }
}
