/* Oxyflex Custom Styles - Red, White, and Black Color Scheme */

/* Custom gradient-7 override for red and dark theme */
.text-gradient.gradient-7 {
  background-image: linear-gradient(100deg, #e2626b 20%, #2f353a 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Additional brand color customizations */
:root {
  --oxyflex-red: #e2626b;
  --oxyflex-dark: #2f353a;
  --oxyflex-black: #1e2228;
  --oxyflex-white: #ffffff;
  --oxyflex-light-bg: #f8f9fa;
  --oxyflex-border: rgba(0, 0, 0, 0.08);
}

/* Large Screen Optimizations (1400px+) */
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1320px;
  }
  
  .display-1 {
    font-size: 3.5rem !important;
  }
  
  .fs-50 {
    font-size: 3.25rem !important;
  }
  
  .lead, .fs-24 {
    font-size: 1.5rem !important;
  }
  
  /* Better spacing on large screens */
  .py-14 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
  
  .py-md-16 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}

/* Extra Large Screens (1920px+) */
@media (min-width: 1920px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1440px;
  }
}

/* Enterprise-Level Enhancements */
.tracking-wider {
  letter-spacing: 0.1em;
}

/* Smooth transitions for all cards */
.card {
  transition: all 0.3s ease;
}

/* Gradient Background for Sections */
.bg-gradient-light {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* MNC-Style Feature Cards */
.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e2626b, #c54d56);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(226, 98, 107, 0.1);
}

.feature-icon-wrapper {
  margin-bottom: 1.75rem;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(226, 98, 107, 0.1) 0%, rgba(226, 98, 107, 0.05) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, #e2626b 0%, #c54d56 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(226, 98, 107, 0.2);
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
}

.feature-icon i {
  font-size: 2rem;
  color: #e2626b;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.feature-card:hover .feature-icon i {
  color: #ffffff;
}

.feature-content {
  position: relative;
  z-index: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2f353a;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: #e2626b;
}

.feature-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #60697b;
}

/* Better responsive spacing */
@media (max-width: 991.98px) {
  .display-1 {
    font-size: 2.75rem !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2.25rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .fs-50 {
    font-size: 2.5rem !important;
  }
  
  .lead {
    font-size: 1.125rem !important;
  }
  
  .feature-card {
    padding: 2rem 1.75rem;
  }
  
  .feature-icon {
    width: 64px;
    height: 64px;
  }
  
  .feature-icon i {
    font-size: 1.75rem;
  }
  
  /* Section spacing adjustments */
  .py-14 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .py-md-16 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.25rem !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.875rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .fs-50 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .fs-24 {
    font-size: 1.125rem !important;
  }
  
  .feature-card {
    padding: 1.75rem 1.5rem;
  }
  
  .feature-icon-wrapper {
    margin-bottom: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon i {
    font-size: 1.5rem;
  }
  
  .feature-title {
    font-size: 1.125rem;
  }
  
  .feature-text {
    font-size: 0.875rem;
  }
  
  /* Button responsive sizing */
  .btn-lg {
    padding: 0.625rem 1.25rem !important;
    font-size: 1rem !important;
  }
  
  /* Section spacing for mobile */
  .py-14 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .py-md-16 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  /* Card spacing */
  .card-body {
    padding: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2rem !important;
  }
  
  .display-2 {
    font-size: 1.875rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.625rem !important;
  }
  
  .fs-50 {
    font-size: 1.875rem !important;
  }
  
  .feature-card {
    padding: 1.5rem 1.25rem;
  }
  
  .feature-card:hover {
    transform: translateY(-4px);
  }
  
  /* Stack buttons vertically on very small screens */
  .btn-equal-width {
    display: block;
    width: 100% !important;
    margin-bottom: 0.75rem;
  }
  
  /* Reduce gap between elements */
  .gap-3 {
    gap: 0.75rem !important;
  }
  
  .mb-7 {
    margin-bottom: 2rem !important;
  }
}

/* Button hover effects with brand colors */
.btn-primary {
  background-color: var(--oxyflex-red);
  border-color: var(--oxyflex-red);
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--oxyflex-dark);
  border-color: var(--oxyflex-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 98, 107, 0.3);
}

.btn-outline-primary {
  color: var(--oxyflex-red);
  border-color: var(--oxyflex-red);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background-color: var(--oxyflex-red);
  border-color: var(--oxyflex-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 98, 107, 0.3);
}

.btn-success {
  background-color: #25D366;
  border-color: #25D366;
  transition: all 0.3s ease;
}

.btn-success:hover, .btn-success:focus, .btn-success:active {
  background-color: #1fb855;
  border-color: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Link colors */
a {
  color: var(--oxyflex-red);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--oxyflex-dark);
}

/* Navbar styling */
.navbar-light .navbar-nav .nav-link {
  color: var(--oxyflex-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--oxyflex-red);
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--oxyflex-red);
}

/* Card border and shadow consistency */
.card {
  border: 1px solid var(--oxyflex-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  border-color: rgba(226, 98, 107, 0.2);
}

/* Equal width buttons */
.btn-equal-width {
  min-width: 220px;
  text-align: center;
  padding: 0.75rem 1.5rem;
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 768px) {
  .btn-equal-width {
    min-width: 180px;
    padding: 0.625rem 1.25rem;
  }
  
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .display-1, .fs-50 {
    font-size: 2.5rem !important;
  }
  
  .lead, .fs-24 {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .btn-equal-width {
    min-width: 100%;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .btn-equal-width {
    min-width: 100%;
    width: 100%;
  }
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.floating-btn {
  position: fixed;
  bottom: 5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oxyflex-white);
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  pointer-events: all;
  z-index: 1001;
}

.floating-btn-left {
  left: 2rem;
  background: var(--oxyflex-red);
}

.floating-btn-right {
  right: 1rem;
  background: #25D366; /* WhatsApp green */
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn-label {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--oxyflex-dark);
  color: var(--oxyflex-white);
  font-size: 0.875rem;
  white-space: nowrap;
  border-radius: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-btn-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--oxyflex-dark);
}

.floating-btn:hover .floating-btn-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .floating-btn {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    bottom: 1.5rem;
  }
  
  .floating-btn-left {
    left: 1rem;
  }
  
  .floating-btn-right {
    right: 1rem;
  }
  
  .floating-btn-label {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Hide floating buttons on very small screens if needed */
@media (max-width: 575.98px) {
  .floating-btn-label {
    display: none;
  }
}

/* Hero Section Container Padding */
.wrapper.image-wrapper section,
.wrapper.image-wrapper > .container {
  position: relative;
}

/* Hero Swiper Slider Styles */
.image-wrapper .hero-swiper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  overflow: visible;
}

.image-wrapper {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-wrapper .hero-swiper .swiper-wrapper {
  position: relative;
}

.image-wrapper .hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  min-height: 600px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.image-wrapper .hero-swiper .swiper-slide-active {
  opacity: 1;
}

.image-wrapper .hero-swiper .swiper-slide > .container {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Swiper Controls Container */
.image-wrapper .hero-swiper .swiper-controls {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10;
}

.image-wrapper .hero-swiper .swiper-navigation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Swiper Navigation Buttons */
.image-wrapper .hero-swiper .swiper-button-prev,
.image-wrapper .hero-swiper .swiper-button-next {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--oxyflex-red);
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: all;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper .hero-swiper .swiper-button-prev:after,
.image-wrapper .hero-swiper .swiper-button-next:after {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--oxyflex-red);
}

.image-wrapper .hero-swiper .swiper-button-prev:hover,
.image-wrapper .hero-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.image-wrapper .hero-swiper .swiper-button-prev {
  left: 2rem;
}

.image-wrapper .hero-swiper .swiper-button-next {
  right: 2rem;
}

/* Swiper Pagination */
.image-wrapper .hero-swiper .swiper-pagination {
  bottom: 2rem;
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  text-align: center;
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  backdrop-filter: blur(12px);
  border-radius: 30px;
}

.image-wrapper .hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  margin: 0 !important;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.image-wrapper .hero-swiper .swiper-pagination-bullet:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.image-wrapper .hero-swiper .swiper-pagination-bullet-active {
  background: var(--oxyflex-red);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(226, 98, 107, 0.3),
              0 2px 8px rgba(226, 98, 107, 0.5);
  transform: scale(1.4);
}

/* Hero responsive padding */
@media (max-width: 991.98px) {
  .hero-swiper .container {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  
  .image-wrapper .hero-swiper {
    min-height: 500px;
  }
  
  .image-wrapper .hero-swiper .swiper-slide {
    min-height: 500px;
  }
  
  .image-wrapper .hero-swiper .swiper-button-prev {
    left: 1rem;
  }
  
  .image-wrapper .hero-swiper .swiper-button-next {
    right: 1rem;
  }
  
  .image-wrapper .hero-swiper .swiper-pagination {
    bottom: 1.5rem;
    padding: 10px 16px;
    gap: 6px;
  }
}

@media (max-width: 767.98px) {
  .hero-swiper .container {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .image-wrapper .hero-swiper {
    min-height: 450px;
  }
  
  .image-wrapper .hero-swiper .swiper-slide {
    min-height: 450px;
  }
  
  .image-wrapper .hero-swiper .swiper-slide .container .row {
    gap: 2rem;
  }
  
  .image-wrapper .hero-swiper .swiper-button-prev {
    left: 0.75rem;
  }
  
  .image-wrapper .hero-swiper .swiper-button-next {
    right: 0.75rem;
  }
  
  .image-wrapper .hero-swiper .swiper-button-prev,
  .image-wrapper .hero-swiper .swiper-button-next {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .image-wrapper .hero-swiper .swiper-button-prev:after,
  .image-wrapper .hero-swiper .swiper-button-next:after {
    font-size: 1rem;
  }
  
  .image-wrapper .hero-swiper .swiper-pagination {
    bottom: 1rem;
    padding: 8px 14px;
    gap: 5px;
  }
  
  .image-wrapper .hero-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  
  .image-wrapper .hero-swiper .swiper-pagination-bullet-active {
    width: 8px;
    height: 8px;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(226, 98, 107, 0.2),
                0 2px 6px rgba(226, 98, 107, 0.3);
  }
}

/* Featured Products Section - Three Column Design */

/* Product Card V2 - Vertical Layout */
.product-card-v2 {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.product-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(226, 98, 107, 0.25);
}

/* Tracking/Letter Spacing Utility */
.tracking-wider {
  letter-spacing: 0.1em;
}

/* Product Image - Consistent Height & Object Fit */
.product-card-v2 .card-img-top {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-card-v2 .card-img-top img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card-v2:hover .card-img-top img {
  transform: scale(1.08);
}

/* Product Badge - Left Aligned & Smaller */
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.product-card-v2:hover .product-badge {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.product-badge i {
  font-size: 0.85rem;
}

/* Product Number Badge - Modern Soft Circle Design */
.product-number-badge {
  width: 36px;
  height: 36px;
  background: rgba(226, 98, 107, 0.08);
  color: var(--oxyflex-red);
  border-radius: 50%;
  border: 1.5px solid rgba(226, 98, 107, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(226, 98, 107, 0.1);
  transition: all 0.3s ease;
}

.product-card-v2:hover .product-number-badge {
  transform: scale(1.08);
  background: rgba(226, 98, 107, 0.12);
  border-color: rgba(226, 98, 107, 0.35);
  box-shadow: 0 3px 10px rgba(226, 98, 107, 0.2);
}

/* Card Body */
.product-card-v2 .card-body {
  padding: 1.75rem 1.5rem 2rem;
}

.product-card-v2 h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2f353a;
  margin-bottom: 0.85rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.product-card-v2:hover h4 {
  color: var(--oxyflex-red);
}

.product-card-v2 p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #60697b;
  margin-bottom: 1.25rem;
}

/* Icon List Styling - Improved Check Position */
.product-card-v2 .icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.product-card-v2 .icon-list li {
  padding: 0;
  margin-bottom: 0.7rem;
  font-size: 0.875rem;
  color: #60697b;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
  font-weight: 500;
  transition: all 0.3s ease;
}

.product-card-v2 .icon-list li:last-child {
  margin-bottom: 0;
}

.product-card-v2 .icon-list li i {
  color: var(--oxyflex-red);
  font-size: 1.1rem;
  margin-right: 0.7rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.product-card-v2 .icon-list li span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.product-card-v2 .icon-list li:hover {
  color: #2f353a;
  padding-left: 4px;
}

.product-card-v2 .icon-list li:hover i {
  transform: scale(1.2);
  color: #c54d56;
}

.product-card-v2 .icon-list li:hover span {
  transform: translateX(2px);
}

/* Button Styling */
.product-card-v2 .btn {
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.75rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.product-card-v2 .btn i {
  transition: transform 0.3s ease;
}

.product-card-v2 .btn:hover i {
  transform: translateX(4px);
}

.product-card-v2 .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.product-card-v2 .btn:hover::before {
  width: 350px;
  height: 350px;
}

.product-card-v2 .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(226, 98, 107, 0.35);
}

/* CTA Card Button Enhancements */
.product-cta-card .btn {
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-cta-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(226, 98, 107, 0.3);
}

.product-cta-card .btn-outline-primary:hover {
  background: var(--oxyflex-red);
  border-color: var(--oxyflex-red);
  color: #ffffff;
}

/* Badge Color Variants */
.badge.bg-red {
  background-color: #e2626b !important;
}

.badge.bg-purple {
  background-color: #9b7aed !important;
}

.badge.bg-green {
  background-color: #45c4a0 !important;
}

/* Product CTA Card - Enhanced Design with Subtle Gradient */
.product-cta-card {
  border: none;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(0, 86, 210, 0.06) 0%, rgba(255, 255, 255, 1) 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.product-cta-card:hover {
  border-color: rgba(226, 98, 107, 0.25);
  box-shadow: 0 1.25rem 3rem rgba(226, 98, 107, 0.12) !important;
}

.product-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(226, 98, 107, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-soft 8s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.product-cta-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(226, 98, 107, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.icon-svg-lg {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.product-cta-card:hover .icon-svg-lg {
  transform: scale(1.1) rotate(5deg);
}

.bg-pale-primary {
  background-color: rgba(226, 98, 107, 0.12) !important;
}

/* Button Groups in Product Section */
.gap-3 {
  gap: 1rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

/* Mobile menu improvements */
.offcanvas-nav {
  background-color: var(--oxyflex-dark);
}

.offcanvas-nav .navbar-nav .nav-link {
  padding: 0.75rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.offcanvas-nav .navbar-nav .nav-link:hover {
  color: var(--oxyflex-red);
}

.offcanvas-nav .navbar-nav .dropdown-menu {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 0;
}

.offcanvas-nav .navbar-nav .dropdown-item {
  color: rgba(0, 0, 0, 0.8);
  padding: 0.625rem .5rem 0.625rem 1.0rem;
  transition: all 0.3s ease;
}

.offcanvas-nav .navbar-nav .dropdown-item:hover {
  color: var(--oxyflex-red);
  background-color: rgba(226, 98, 107, 0.1);
}

/* Offcanvas info panel */
.offcanvas-end {
  background-color: var(--oxyflex-dark);
}

.offcanvas-end .widget p,
.offcanvas-end address {
  color: rgba(255, 255, 255, 0.8);
}

.offcanvas-end .widget a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.offcanvas-end .widget a:hover {
  color: var(--oxyflex-red);
}

/* Product Cards Section - Height & Image Fix */
.grid .row.isotope {
  display: flex;
  flex-wrap: wrap;
}

.grid .row.isotope .item {
  display: flex;
}

.grid .row.isotope .item .card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.grid .row.isotope .item .card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Fixed height for product images */
.grid .row.isotope .item .card .card-body figure {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.grid .row.isotope .item .card .card-body figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.grid .row.isotope .item .card:hover figure img {
  transform: scale(1.05);
}

/* Blockquote takes remaining space */
.grid .row.isotope .item .card .card-body blockquote {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.grid .row.isotope .item .card .card-body blockquote > p {
  margin-bottom: 0.25rem;
}

.grid .row.isotope .item .card .card-body blockquote .blockquote-details {
  margin-top: 10px;
}

/* View All Products Button */
.view-all-products-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.view-all-products-wrapper .btn {
  min-width: 220px;
  font-weight: 600;
  padding: 0.875rem 2rem;
  transition: all 0.3s ease;
}

.view-all-products-wrapper .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(226, 98, 107, 0.3);
}

/* Responsive adjustments for product images */
@media (max-width: 1199.98px) {
  .grid .row.isotope .item .card .card-body figure {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
}

@media (max-width: 991.98px) {
  .grid .row.isotope .item .card .card-body figure {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
  }
}

@media (max-width: 767.98px) {
  .grid .row.isotope .item .card .card-body figure {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }
}

@media (max-width: 575.98px) {
  .grid .row.isotope .item .card .card-body figure {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
  }
}

/* Product Category Cards */
.bg-gradient-reverse-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.card.lift {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15) !important;
}

.card.lift .icon.btn-circle {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.card.lift:hover .icon.btn-circle {
  background: linear-gradient(135deg, #e2626b 0%, #c54d56 100%) !important;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(226, 98, 107, 0.3);
}

.card.lift .icon.btn-circle i {
  transition: color 0.35s ease;
  color: var(--oxyflex-red);
}

.card.lift:hover .icon.btn-circle i {
  color: #ffffff !important;
}

.card.lift h4 {
  transition: color 0.3s ease;
}

.card.lift:hover h4 {
  color: var(--oxyflex-red) !important;
}

.card.lift .more.hover {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.3s ease;
}

.card.lift:hover .more.hover {
  gap: 0.6rem;
  font-weight: 600;
}

.card.lift:hover .more.hover i {
  transform: translateX(3px);
}

/* Responsive adjustments for category cards */
@media (max-width: 991.98px) {
  .card.lift .card-body {
    padding: 2rem !important;
  }
  
  .card.lift .icon.btn-circle {
    width: 3.5rem !important;
    height: 3.5rem !important;
  }
  
  .card.lift .icon.btn-circle i {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 767.98px) {
  .card.lift .card-body {
    padding: 1.75rem !important;
  }
  
  .card.lift:hover {
    transform: translateY(-4px);
  }
  
  .card.lift h4 {
    font-size: 1.125rem;
  }
}

.product-text {
  min-height: 230px;
  max-height: 230px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Stats Counter Section Improvements */
.counter-wrapper .counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--oxyflex-red);
  margin-bottom: 0.5rem;
}

.counter-wrapper p {
  font-size: 0.95rem;
  color: var(--oxyflex-dark);
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .counter-wrapper .counter {
    font-size: 2rem;
  }
  
  .counter-wrapper p {
    font-size: 0.875rem;
  }
}

/* Footer Improvements */
footer {
  border-top: 1px solid var(--oxyflex-border);
}

footer .widget-title {
  color: var(--oxyflex-dark);
  font-weight: 700;
  font-size: 1.125rem;
}

footer p, footer address {
  color: #60697b;
  line-height: 1.7;
}

footer .social a {
  transition: all 0.3s ease;
}

footer .social a:hover {
  transform: translateY(-3px);
  color: var(--oxyflex-red);
}

/* Ensure consistent card heights in grid */
.card.h-100 {
  height: 100% !important;
  display: flex;
  flex-direction: column;
}

.card.h-100 .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Vertical timeline connector */
.process-step {
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;              /* aligns with icon center */
  top: 52px;               /* starts below icon */
  width: 2px;
  height: calc(100% - 52px);
  background: linear-gradient(
    to bottom,
    rgba(226,98,107,.4),
    rgba(13,110,253,.05)
  );
}

.process-icon {
  position: relative;
  z-index: 2;
}

/* Icon styling improvements */
.uil {
  line-height: 1;
  vertical-align: middle;
}

/* Ensure proper spacing utilities */
.mb-10 {
  margin-bottom: 4rem !important;
}

.mb-16 {
  margin-bottom: 6rem !important;
}

.mb-15 {
  margin-bottom: 5rem !important;
}

@media (max-width: 991.98px) {
  .mb-10 {
    margin-bottom: 3rem !important;
  }
  
  .mb-15 {
    margin-bottom: 4rem !important;
  }
  
  .mb-16 {
    margin-bottom: 4.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .mb-10 {
    margin-bottom: 2.5rem !important;
  }
  
  .mb-15 {
    margin-bottom: 3rem !important;
  }
  
  .mb-16 {
    margin-bottom: 3.5rem !important;
  }
}

/* Heading line heights for better readability */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  line-height: 1.3;
  font-weight: 700;
}

.display-1, .display-2, .display-3, .display-4 {
  line-height: 1.2;
  font-weight: 700;
}

/* Better text color contrast */
.text-muted {
  color: #60697b !important;
}

/* Improve readability of lead text */
.lead {
  line-height: 1.6;
  font-weight: 400;
}

/* Stats section text improvements */
.container-card .card {
  border: none;
  border-radius: 20px;
}

/* Ensure images load smoothly */
img {
  max-width: 100%;
  height: auto;
}

figure img {
  display: block;
}