/* ========================================
   WHY US PAGE MODERN STYLES (why.html)
======================================== */

/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Why Us Section Modern Layout */
.sub_page .why_section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}

.sub_page .why_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 187, 240, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.why_section .container {
  position: relative;
  z-index: 2;
}

/* Featured Transparency Card - Modern Hero Style */
.featured_transparency {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 60px;
  border-radius: 24px;
  margin-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(102, 126, 234, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured_transparency::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured_transparency:hover::before {
  opacity: 1;
}

.featured_transparency .icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 3rem;
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.featured_transparency:hover .icon {
  transform: scale(1.1) rotate(10deg);
  background: rgba(255, 255, 255, 0.3);
}

.featured_transparency h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 25px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.featured_transparency p {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: white;
}

.featured_transparency .highlight {
  color: #4ade80;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

/* Why Us Features Grid */
.featured_features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.feature-item i {
  font-size: 1.2rem;
  color: #4ade80;
  min-width: 20px;
}

.feature-item span {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: white;
}

/* Why Us Container - Modern Grid Layout */
.why_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}

/* Modern Box Cards - Fixed Visibility */
.why_container .box {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.why_container .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
  transition: left 0.6s ease;
}

.why_container .box:nth-child(1) { animation-delay: 0.1s; }
.why_container .box:nth-child(2) { animation-delay: 0.2s; }
.why_container .box:nth-child(3) { animation-delay: 0.3s; }
.why_container .box:nth-child(4) { animation-delay: 0.4s; }
.why_container .box:nth-child(5) { animation-delay: 0.5s; }
.why_container .box:nth-child(6) { animation-delay: 0.6s; }

.why_container .box:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 8px 30px rgba(102, 126, 234, 0.1);
}

.why_container .box:hover::before {
  left: 100%;
}

/* Image Box Styling */
.why_container .box .img-box {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.why_container .box:hover .img-box {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.why_container .box .img-box img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.why_container .box:hover .img-box img {
  transform: scale(1.1);
}

/* Detail Box Content - Enhanced Visibility */
.why_container .box .detail-box {
  position: relative;
  z-index: 1;
}

.why_container .box .detail-box h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
  line-height: 1.3;
}

.why_container .box .detail-box p {
  font-family: 'Inter', sans-serif;
  color: #4a5568;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Why Us Stats Section (if exists) */
.why_us_stats {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  margin: 80px 0;
  border-radius: 24px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.why_us_stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="why-stats-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23why-stats-pattern)"/></svg>');
}

.stats_showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat_showcase_item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat_showcase_item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.stat_showcase_item .number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat_showcase_item .label {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: white;
  opacity: 0.9;
  font-weight: 500;
}

/* Why Us CTA Section */
.why_us_cta {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  padding: 80px 60px;
  border-radius: 24px;
  text-align: center;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 32, 44, 0.3);
}

.why_us_cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
}

.why_us_cta .content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.why_us_cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.why_us_cta p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
  color: white;
}

.why_us_cta .btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.why_us_cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

/* Enhanced animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .why_container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
  }
  
  .featured_transparency {
    padding: 60px 40px;
  }
  
  .featured_transparency h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .sub_page .why_section {
    padding: 60px 0 80px;
  }
  
  .featured_transparency {
    padding: 60px 30px;
    margin-bottom: 60px;
  }
  
  .featured_transparency h2 {
    font-size: 2.25rem;
  }
  
  .featured_transparency p {
    font-size: 1.2rem;
  }
  
  .featured_transparency .icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    margin-bottom: 25px;
  }
  
  .featured_features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }
  
  .why_container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 80px;
  }
  
  .why_container .box {
    padding: 30px 24px;
  }
  
  .why_container .box .img-box {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
  }
  
  .why_container .box .img-box img {
    width: 50px;
    height: 50px;
  }
  
  .why_container .box .detail-box h5 {
    font-size: 1.375rem;
  }
  
  .why_us_stats {
    padding: 60px 0;
    margin: 60px 0;
  }
  
  .stats_showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat_showcase_item .number {
    font-size: 2.5rem;
  }
  
  .why_us_cta {
    padding: 60px 30px;
    margin-top: 80px;
  }
  
  .why_us_cta h3 {
    font-size: 2rem;
  }
  
  .why_us_cta p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .featured_transparency {
    padding: 40px 20px;
  }
  
  .featured_transparency h2 {
    font-size: 2rem;
  }
  
  .featured_transparency p {
    font-size: 1.1rem;
  }
  
  .featured_transparency .icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .why_container .box {
    padding: 25px 20px;
  }
  
  .why_container .box .img-box {
    width: 70px;
    height: 70px;
  }
  
  .why_container .box .img-box img {
    width: 40px;
    height: 40px;
  }
  
  .why_container .box .detail-box h5 {
    font-size: 1.25rem;
  }
  
  .stats_showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat_showcase_item .number {
    font-size: 2rem;
  }
  
  .why_us_cta {
    padding: 40px 20px;
  }
  
  .why_us_cta h3 {
    font-size: 1.75rem;
  }
  
  .why_us_cta .btn {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .why_container .box,
  .featured_transparency {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .why_container .box:hover,
  .featured_transparency:hover .icon,
  .why_us_cta .btn:hover {
    transform: translateY(-2px);
  }
  
  .why_container .box:hover .img-box {
    transform: scale(1.05);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .why_container .box,
  .featured_transparency,
  .why_us_cta {
    border: 2px solid #000;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .sub_page .why_section {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  }
  
  .why_container .box {
    background: #2d3748;
    border-color: #4a5568;
  }
  
  .why_container .box .detail-box h5 {
    color: #f7fafc;
  }
  
  .why_container .box .detail-box p {
    color: #cbd5e0;
  }
}
