/* ===== BASE RESPONSIVE CSS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Roboto', sans-serif;
  padding: 0;
  line-height: 1.4;
  min-height: 100vh;
}

/* Main wrapper - NO extra padding */
.why-choose-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 0.5rem;
}

/* ============================================ */
/* 🔥 NEW GLASSMORPHISM STYLES (REPLACED) 🔥 */
/* ============================================ */

.glassmart-container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Glassmorphism Effect - Frosted overlay */
.glassmart-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none !important;
  color: #000000!important;
}

/* Animated gradient bar on top */
.glassmart-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: none !important;
  color: #000000!important;
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: none!important;
  -webkit-background-clip: text;
  background-clip: text;
  color: #000000!important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.title-accent {
  text-align: center;
  font-size: 1.1rem;
  color: #000000!important;
  margin-bottom: 50px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  width: 100%;
  z-index: 1;
}

.title-accent::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: none!important;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Cards - Enhanced */
.benefit-card {
  background: none!important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  animation: fadeUp 0.5s ease-out forwards;
  opacity: 0;
}

.benefit-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon {
  font-size: 2rem;
  
  width: 112px!important;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: all 0.3s ease;
  color: #1e293b;
}

.benefit-card:hover .card-icon {
  
  transform: scale(1.05);
}

.benefit-card h3 {
  font-size: .9rem;
  font-weight: 600;
  color: #000000;
  margin: 0;
  line-height: 1.3;
}

.benefit-card p {
  color: #1a202c;
  line-height: 1.5;
  font-size: 0.6rem;
  margin: 0;
}

.benefit-card p strong {
  color: #000000;
  font-weight: 700;
}

/* Supporting Text - Enhanced */
.supporting-text {
  background: #f8fafc;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}

.supporting-text p {
  color: #1a202c;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.supporting-text strong {
  color: #000000;
  font-weight: 700;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card:nth-child(1) { animation-delay: 0.05s; }
.benefit-card:nth-child(2) { animation-delay: 0.1s; }
.benefit-card:nth-child(3) { animation-delay: 0.15s; }
.benefit-card:nth-child(4) { animation-delay: 0.2s; }
.benefit-card:nth-child(5) { animation-delay: 0.25s; }
.benefit-card:nth-child(6) { animation-delay: 0.3s; }

/* ============================================ */
/* 🔥 COMPLETE RESPONSIVE FIXES 🔥 */
/* ============================================ */

/* Desktop (1025px and above) */
@media (min-width: 1025px) {
  .glassmart-container {
    padding: 10px 32px;
  }
  .section-title {
    font-size: 1.6rem !important;
  }
  .benefits-grid {
    gap: 32px;
  }
  .benefit-card {
    padding: 5px;
  }
  .card-icon {
    width: 99px!important;
    height: 64px;
    font-size: 2.2rem;
  }
  .benefit-card h3 {
    font-size: .9rem;
  }
  .benefit-card p {
    font-size: 0.7rem;
  }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .why-choose-wrapper {
    padding: 0.5rem;
  }
  
  .glassmart-container {
    padding: 10px 20px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .title-accent {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .benefit-card {
    padding: 4px;
  }
  
  .card-icon {
    width: 80px!important;
    height: 50px;
    font-size: 1.75rem;
  }
  
  .benefit-card h3 {
    font-size: .9rem;
  }
  
  .benefit-card p {
    font-size: 0.85rem;
  }
  
  .supporting-text {
    padding: 20px 24px;
  }
  
  .supporting-text p {
    font-size: 0.9rem;
  }
}

/* Small Tablet / Large Phone (550px - 768px) */
@media (max-width: 768px) {
  .why-choose-wrapper {
    padding: 0.4rem;
  }
  
  .glassmart-container {
    padding: 10px 16px;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .title-accent {
    font-size: 0.85rem;
    margin-bottom: 35px;
  }
  
  .title-accent::after {
    width: 50px;
    margin-top: 10px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .benefit-card {
    padding: 20px;
  }
  
  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .card-icon {
    width: 88px!important;
    height: 48px;
    font-size: 1rem;
  }
  
  .benefit-card h3 {
    font-size: 0.8rem;
    text-align: center;
  }
  
  .benefit-card p {
    font-size: 0.8rem;
    text-align: center;
  }
  
  .supporting-text {
    padding: 18px 20px;
  }
  
  .supporting-text p {
    font-size: 0.85rem;
    text-align: center;
  }
}

/* Mobile (400px - 550px) */
@media (max-width: 550px) {
  .why-choose-wrapper {
    padding: 0.3rem;
  }
  
  .glassmart-container {
    padding: 10px 12px;
    border-radius: 1rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .title-accent {
    font-size: 0.75rem;
    margin-bottom: 30px;
  }
  
  .title-accent::after {
    width: 40px;
    margin-top: 8px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .benefit-card {
    padding: 18px;
    border-radius: 20px;
  }
  
  .card-header {
    flex-direction: row;
    text-align: left;
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .card-icon {
    width: 74px!important;
    height: 44px;
    font-size: 1.35rem;
    border-radius: 12px;
  }
  
  .benefit-card h3 {
    font-size: 0.95rem;
    text-align: left;
  }
  
  .benefit-card p {
    font-size: 0.75rem;
    text-align: left;
    line-height: 1.45;
  }
  
  .supporting-text {
    padding: 16px;
    border-radius: 16px;
  }
  
  .supporting-text p {
    font-size: 0.75rem;
    text-align: left;
  }
}

/* Small Mobile (up to 400px) */
@media (max-width: 400px) {
  .glassmart-container {
    padding: 5px 10px;
    border-radius: 0.9rem;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
  
  .title-accent {
    font-size: 0.65rem;
    margin-bottom: 25px;
  }
  
  .benefit-card {
    padding: 14px;
  }
  
  .card-icon {
    width: 68px!important;
    height: 38px;
    font-size: 1.1rem;
  }
  
  .benefit-card h3 {
    font-size: 0.85rem;
  }
  
  .benefit-card p {
    font-size: 0.7rem;
  }
  
  .supporting-text {
    padding: 14px;
  }
  
  .supporting-text p {
    font-size: 0.7rem;
  }
}

/* Landscape mode on phones */
@media (max-width: 768px) and (orientation: landscape) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .benefit-card {
    padding: 12px;
  }
  
  .card-header {
    flex-direction: row;
    gap: 8px;
  }
  
  .card-icon {
    width: 66px!important;
    height: 36px;
    font-size: 1rem;
  }
  
  .benefit-card h3 {
    font-size: 0.8rem;
  }
  
  .benefit-card p {
    font-size: 0.65rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .benefit-card,
  .benefit-card:hover,
  .card-icon,
  .glassmart-container::after {
    transition: none;
    animation: none;
    transform: none;
  }
  .benefit-card {
    opacity: 1;
  }
}

/* Smooth Scroll & Touch Optimization */
@media (hover: none) and (pointer: coarse) {
  .benefit-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .benefit-card:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
}

/* Print Styles */
@media print {
  .glassmart-container {
    background: white;
    padding: 20px;
    box-shadow: none;
  }
  
  .glassmart-container::before,
  .glassmart-container::after {
    display: none;
  }
  
  .section-title {
    color: #000000;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }
  
  .benefit-card {
    break-inside: avoid;
    border: 1px solid #ddd;
    background: white;
    backdrop-filter: none;
    box-shadow: none;
  }
  
  .benefit-card p, 
  .benefit-card h3,
  .title-accent,
  .supporting-text p {
    color: #000000;
  }
  
  .supporting-text {
    background: #f5f5f5;
    backdrop-filter: none;
  }
}