/* Component Styles for PPT Theme */
/* Adapted from Modulex Theme - Enhanced animations, transitions, and visual improvements */

:root {
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Component headings now use theme.json typography */
.excel-card-title,
.excel-card-content-title,
.excel-cards-grid h4,
.why-excel-section h2,
.hero-banner .slide-title,
.statistics-section h2,
.sustainability-section h2 {
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 400;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ===== BUTTON ENHANCEMENTS ===== */
.btn-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-enhanced:active {
  transform: translateY(0);
}

/* ===== IMAGE ENHANCEMENTS ===== */
.image-hover-zoom {
  overflow: hidden;
  border-radius: 8px;
}

.image-hover-zoom img {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-hover-zoom:hover img {
  transform: scale(1.05);
}

/* ===== CARD STYLES ===== */
.component-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid var(--wp--preset--color--border);
}

.component-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ===== HERO BANNER STYLES ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #1e3a5f;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 80px;
}

.banner-swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper-slide img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-slider .slide-content {
  max-width: 600px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-slider .slide-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-slider .slide-subtitle {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* ===== SOLUTIONS SECTION STYLES ===== */
.solutions-section {
  padding: 4rem 0;
}

.solution-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.solution-card .solution-image {
  margin-bottom: 1rem;
  height: 192px;
  overflow: hidden;
  border-radius: 8px;
}

.solution-card .solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-card:hover .solution-image img {
  transform: scale(1.05);
}

/* ===== STATISTICS SECTION STYLES ===== */
.statistics-section {
  padding: 4rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--wp--preset--color--primary);
}

.stat-label {
  font-size: 1rem;
  color: var(--wp--preset--color--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2rem;
  }
}

/* ===== TECHNOLOGY SECTION STYLES ===== */
.technology-section {
  padding: 4rem 0;
}

.tech-card {
  text-align: center;
  padding: 1.5rem;
}

.tech-card img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ===== USE CASES SECTION STYLES ===== */
.use-cases-section {
  padding: 4rem 0;
}

.usecase-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.usecase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.usecase-card .usecase-image {
  margin-bottom: 1rem;
  height: 192px;
  overflow: hidden;
  border-radius: 8px;
}

.usecase-card .usecase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.usecase-card:hover .usecase-image img {
  transform: scale(1.05);
}

/* ===== STATISTICS METRIC CARDS ===== */
.stats-cards-section {
  padding: 4rem 0;
  background: #ffffff;
}

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.stat-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.stat-metric-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--wp--preset--color--accent-erp);
  transform: translateY(-4px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052a3;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

.stat-number {
  font-family: var(--wp--preset--font-family--primary);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--wp--preset--color--text-primary);
  margin: 0.5rem 0;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--wp--preset--color--text-secondary);
  margin: 0;
}

/* Responsive adjustments for statistics cards */
@media (max-width: 1024px) {
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-metric-card {
    padding: 2rem 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-metric-card {
    padding: 1.5rem 1rem;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .stats-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-metric-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }
}

/* ===== WHY EXCEL SECTION - CLICKABLE CARDS ===== */
.why-excel-section {
  padding: 4rem 0;
  background: #ffffff;
}

.excel-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.excel-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.excel-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.excel-card-inner {
  position: relative;
  width: 100%;
  height: 400px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.excel-card-image {
  position: relative;
  width: 100%;
  height: 75%;
  overflow: hidden;
  flex-shrink: 0;
  transition: opacity 0.4s ease;
  opacity: 1;
}

.excel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  transform: scale(1);
}

.excel-card-title {
  position: relative;
  width: 100%;
  height: 25%;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all 0.4s ease;
  opacity: 1;
  z-index: 5;
  order: 2;
}

.excel-card-inner:hover .excel-card-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  opacity: 1;
  z-index: 11;
}

.excel-card-inner:hover .excel-card-title h4 {
  color: #ffffff;
}

.excel-card-title h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--wp--preset--color--text-primary);
  text-align: center;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.excel-card-inner:hover .card-overlay {
  opacity: 1;
}

.card-click-icon {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem 1.5rem;
  border-radius: 8px;
}

.excel-card-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
  padding: 4.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.excel-card-content-title {
  display: none;
}

.excel-card-content-title h4 {
  display: none;
}

/* Hover state - show content, hide image */
.excel-card-inner:hover .excel-card-image {
  opacity: 0;
}

.excel-card-inner:hover .excel-card-content {
  opacity: 1;
}

.content-wrapper {
  color: #ffffff;
  text-align: left;
  width: 100%;
}

.content-wrapper h3 {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffffff;
  display: none;
}

.content-wrapper p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.content-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  text-align: left;
}

.content-wrapper ul li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0;
}

.content-wrapper ul li::before {
  content: "✓ ";
  color: var(--wp--preset--color--accent-erp);
  font-weight: 400;
  margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .excel-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .excel-card-inner {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .excel-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .excel-card-inner {
    height: 300px;
  }

  .excel-card-content {
    padding: 1.5rem;
  }

  .content-wrapper h3 {
    font-size: 1.5rem;
  }

  .content-wrapper p {
    font-size: 0.9rem;
  }
}

/* ===== SUSTAINABILITY SECTION STYLES ===== */
.sustainability-section {
  padding: 4rem 0;
}

.sustainability-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sustainability-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.sustainability-list .checkmark {
  font-weight: 400;
  margin-right: 1rem;
  font-size: 1.5rem;
}

/* ===== SWIPER SLIDER ENHANCEMENTS ===== */
.swiper-slide {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.swiper-slide-active {
  opacity: 1;
}

/* Hero Banner Pagination */
.hero-banner .swiper-pagination {
  position: absolute !important;
  bottom: 2rem !important;
  left: 2rem !important;
  width: auto !important;
  z-index: 10;
}

.hero-banner .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
  margin: 0 6px !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-banner .swiper-pagination-bullet-active {
  background: #ffffff !important;
  width: 32px !important;
  border-radius: 6px !important;
}

/* Hero Banner Navigation Arrows */
.hero-banner .swiper-button-prev,
.hero-banner .swiper-button-next {
  width: 48px !important;
  height: 48px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10;
}

.hero-banner .swiper-button-prev:hover,
.hero-banner .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

.hero-banner .swiper-button-prev::after,
.hero-banner .swiper-button-next::after {
  font-size: 20px !important;
}

/* Other sliders pagination */
.swiper-pagination-bullet {
  background: var(--wp--preset--color--border);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
  background: var(--wp--preset--color--primary);
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--wp--preset--color--primary);
}

/* ===== ANIMATION TRIGGERS ===== */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 1024px) {
  .hero-banner {
    min-height: 400px;
  }

  .solutions-section,
  .statistics-section,
  .technology-section,
  .use-cases-section,
  .sustainability-section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 100vh;
    margin-top: 80px;
  }

  .hero-slider .slide-content {
    max-width: 100%;
    margin-left: 1.5rem;
    margin-top: 1rem;
  }

  .hero-slider .slide-content h1 {
    font-size: 1.5rem !important;
  }

  .hero-slider .slide-content p {
    font-size: 0.9rem !important;
  }

  .hero-banner .swiper-button-prev,
  .hero-banner .swiper-button-next {
    width: 40px !important;
    height: 40px !important;
  }

  .hero-banner .swiper-pagination {
    bottom: 1rem !important;
    left: 1rem !important;
  }

  .solutions-section,
  .statistics-section,
  .technology-section,
  .use-cases-section,
  .sustainability-section {
    padding: 2rem 0;
  }

  .component-card {
    padding: 1rem;
  }
}

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

:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary);
  outline-offset: 2px;
}

/* ===== TECHNOLOGY SHOWCASE SECTION ===== */
.technology-showcase {
  background-color: #f3f4f6;
}

.tech-showcase-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tech-showcase-content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  padding-bottom: 4rem;
}

.tech-showcase-left {
  display: flex;
  flex-direction: column;
}

.tech-showcase-right {
  display: flex;
  flex-direction: column;
}

.tech-label {
  display: inline-block;
  color: #0052a3;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  align-self: flex-start;
}

.tech-showcase-heading {
  font-family: var(--wp--preset--font-family--primary);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--wp--preset--color--text-primary);
  margin: 0;
}

.tech-showcase-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--wp--preset--color--text-secondary);
  margin: 0 0 1.75rem 0;
}

.tech-showcase-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: #ff2d2d;
  color: #ffffff;
  font-weight: 400;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.tech-showcase-button:hover {
  background: #2620e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(83, 45, 255, 0.3);
}

.tech-showcase-button svg {
  transition: transform 0.3s ease;
}

.tech-showcase-button:hover svg {
  transform: translateX(4px);
}

.tech-images-carousel {
  width: 100%;
  padding-bottom: 4rem;
  position: relative;
}

.tech-images-carousel .swiper-wrapper {
  display: flex;
}

.tech-images-carousel .swiper-slide {
  width: 50%;
  padding: 0 0.75rem;
}

.tech-image-item {
  overflow: hidden;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tech-image-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tech-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 10;
}

/* Swiper Pagination Styling */
.tech-images-carousel .swiper-pagination {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.tech-images-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #d1d5db;
  border-radius: 50%;
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tech-images-carousel .swiper-pagination-bullet-active {
  background: #492dff;
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .tech-showcase-content-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .tech-showcase-heading {
    font-size: 1.75rem;
  }

  .tech-showcase-description {
    font-size: 0.9375rem;
  }

  .tech-images-carousel .swiper-slide {
    width: 100%;
    padding: 0;
  }

  .tech-images-carousel {
    padding-bottom: 3rem;
  }

  .tech-label {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .tech-showcase-wrapper {
    padding: 0 1rem;
  }

  .tech-showcase-heading {
    font-size: 1.5rem;
  }

  .tech-images-carousel {
    padding-bottom: 2.5rem;
  }
}

/* ===== SOLUTIONS SHOWCASE SECTION ===== */
.solutions-showcase {
  background-color: #ffffff;
}

.solutions-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.solutions-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
}

.solutions-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solutions-label {
  display: inline-block;
  color: #2d45ff;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.solutions-heading {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--wp--preset--color--text-primary);
  margin: 0 0 1.5rem 0;
}

.solutions-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--wp--preset--color--text-secondary);
  margin: 0 0 1.75rem 0;
}

.solutions-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: #ff2d2d;
  color: #ffffff;
  font-weight: 400;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.solutions-button:hover {
  background: #e02020;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 45, 45, 0.3);
}

.solutions-button svg {
  transition: transform 0.3s ease;
}

.solutions-button:hover svg {
  transform: translateX(4px);
}

.solutions-divider {
  width: 1px;
  height: 100%;
  background: #e5e7eb;
  min-height: 300px;
}

.solutions-image {
  width: 100%;
  overflow: hidden;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.solutions-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.solutions-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}

@media (max-width: 1024px) {
  .solutions-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .solutions-divider {
    display: none;
  }

  .solutions-heading {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .solutions-wrapper {
    padding: 0 1rem;
  }

  .solutions-heading {
    font-size: 1.75rem;
  }

  .solutions-description {
    font-size: 0.9375rem;
  }

  .solutions-label {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .solutions-heading {
    font-size: 1.5rem;
  }
}

/* ===== USE CASES SHOWCASE SECTION ===== */
.use-cases-showcase {
  background-color: #f3f4f6;
}

.use-cases-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.use-cases-header {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.use-cases-label {
  display: inline-block;
  color: #ff2d2d;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 0.5rem;
}

.use-cases-top-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.use-cases-heading {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--wp--preset--color--text-primary);
  margin: 0;
}

.use-cases-top-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--wp--preset--color--text-secondary);
  margin: 0;
}

.use-cases-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.use-cases-image {
  width: 100%;
  overflow: hidden;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.use-cases-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.use-cases-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}

.use-cases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.use-case-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid #d1d5db;
  transition: all 0.3s ease;
}

.use-case-item:last-child {
  border-bottom: none;
}

.use-case-item:hover {
  background: rgba(255, 45, 45, 0.05);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.use-case-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wp--preset--color--text-primary);
  flex: 1;
}

.use-case-link,
.use-case-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--wp--preset--color--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.use-case-link {
  color: #ff2d2d;
  font-weight: 400;
}

.use-case-link:hover,
.use-case-arrow:hover {
  color: #ff2d2d;
  transform: translateX(4px);
}

.use-case-arrow svg {
  transition: transform 0.3s ease;
  color: #d1d5db;
}

.use-case-item:hover .use-case-arrow svg {
  color: #ff2d2d;
}

@media (max-width: 1024px) {
  .use-cases-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .use-cases-top-content {
    grid-template-columns: 1fr;
  }

  .use-cases-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .use-cases-wrapper {
    padding: 0 1rem;
  }

  .use-cases-heading {
    font-size: 1.75rem;
  }

  .use-cases-top-description {
    font-size: 0.9375rem;
  }

  .use-case-label {
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .use-cases-heading {
    font-size: 1.5rem;
  }

  .use-case-item {
    padding: 1rem 0;
  }
}

/* ===== SUSTAINABILITY & IMPACT SECTION ===== */
.sustainability-section {
  background-color: #ffffff;
}

.sustainability-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sustainability-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.sustainability-left {
  display: flex;
  flex-direction: column;
}

.sustainability-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

.sustainability-label {
  display: inline-block;
  color: #ff2d2d;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.sustainability-heading {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--wp--preset--color--text-primary);
  margin: 0;
}

.sustainability-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--wp--preset--color--text-secondary);
  margin: 0;
}

.sustainability-divider {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin: 2rem 0 0 0;
}

.sustainability-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.impact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4rem 3rem;
  min-height: 350px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-bottom: none;
  border-radius: 0.5rem 0.5rem 0 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-4px);
  border-top-color: #0066cc;
  border-left-color: #0066cc;
  border-right-color: #0066cc;
  box-shadow: 0 8px 16px rgba(0, 102, 204, 0.1);
}

.impact-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #0066cc;
}

.impact-icon svg {
  width: 48px;
  height: 48px;
  stroke: #0066cc;
}

.impact-card-title {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--text-primary);
  margin: 0;
}

.impact-screenshot {
  grid-column: 1 / -1;
  width: 100vw;
  overflow: hidden;
  border-top: none;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0 0 0.5rem 0.5rem;
  margin-top: -40px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  min-height: 400px;
}

.impact-screenshot img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .sustainability-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sustainability-right {
    padding-top: 0;
  }

  .sustainability-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sustainability-heading {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .sustainability-wrapper {
    padding: 0 1rem;
  }

  .sustainability-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sustainability-heading {
    font-size: 1.75rem;
  }

  .sustainability-description {
    font-size: 0.9375rem;
  }

  .sustainability-label {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .sustainability-heading {
    font-size: 1.5rem;
  }

  .impact-card-title {
    font-size: 0.9375rem;
  }
}

/* ===== DISCOVERY CTA SECTION ===== */
.discovery-cta-section {
  padding-top: 0 !important;
}

.discovery-cta-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: -100px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.discovery-cta-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

.discovery-cta-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.discovery-cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  padding: 2rem;
}

.discovery-cta-heading {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
}

.discovery-cta-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 2rem 0;
}

.discovery-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #ff2d2d;
  color: #ffffff;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.discovery-cta-button:hover {
  background: #e02020;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 45, 45, 0.4);
}

.discovery-cta-button svg {
  transition: transform 0.3s ease;
}

.discovery-cta-button:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .discovery-cta-heading {
    font-size: 2.25rem;
  }

  .discovery-cta-description {
    font-size: 1rem;
  }

  .discovery-cta-container {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .discovery-cta-heading {
    font-size: 1.75rem;
  }

  .discovery-cta-description {
    font-size: 0.9375rem;
  }

  .discovery-cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .discovery-cta-container {
    min-height: 350px;
    margin-top: -80px;
  }
}

@media (max-width: 640px) {
  .discovery-cta-heading {
    font-size: 1.5rem;
  }

  .discovery-cta-description {
    font-size: 0.875rem;
  }

  .discovery-cta-container {
    min-height: 300px;
    margin-top: -60px;
  }

  .discovery-cta-content {
    padding: 1rem;
  }
}

/* ===== MODULEX BRAND STYLES ===== */
.brand-modulex {
  --modulex-red: #0ea5e9;
  --modulex-dark-red: #0284c7;
}

/* Modulex Header */
.ppt-header--modulex .ppt-header__contact-btn--modulex {
  background: #0ea5e9;
  color: white;
}

.ppt-header--modulex .ppt-header__contact-btn--modulex:hover {
  background: #0284c7;
}

/* Modulex Hero Banner */
.hero-banner--modulex {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.hero-banner--modulex .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.6) 100%);
  z-index: 1;
}

.btn-modulex {
  background: linear-gradient(135deg, #0052a3 0%, #0052cc 100%) !important;
  transition: all 0.3s ease;
}

.btn-modulex:hover {
  background: linear-gradient(135deg, #0052a3 0%, #0052cc 100%) !important;
  transform: translateY(-2px);
}

/* Modulex Stat Cards */
.stat-metric-card--modulex:hover {
  border-color: #0ea5e9;
}

.stat-metric-card--modulex .stat-icon {
  color: #0ea5e9;
}

/* Modulex Solution Cards */
.solution-card--modulex:hover {
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.2);
}

/* Modulex Use Case Cards */
.usecase-card--modulex {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.usecase-card--modulex:hover {
  box-shadow: 0 8px 24px rgba(227, 0, 15, 0.2);
  transform: translateY(-4px);
}

/* Modulex CTA Section */
.cta-section--modulex {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Use Cases Carousel for Modulex */
.use-cases-carousel .swiper {
  padding-bottom: 3rem;
}

.use-cases-carousel .swiper-slide {
  height: auto;
}

/* Sustainability Grid for Modulex */
.sustainability-section--modulex .sustainability-card {
  transition: all 0.3s ease;
}

.sustainability-section--modulex .sustainability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(227, 0, 15, 0.15);
}

/* Case Study Image Zoom Effect */
.case-study-image {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
}

.case-study-image:hover {
  transform: scale(1.15);
}

.case-study-image:active {
  transform: scale(1.2);
}

/* Case Study Column Styles */
.case-study-image-column {
  flex-basis: 50%;
  border: 1px solid #e5e5e5;
  padding: var(--wp--preset--spacing--8);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 380px;
}

.case-study-content-column {
  flex-basis: 50%;
  border: 1px solid #e5e5e5;
  padding: var(--wp--preset--spacing--8);
  max-height: 380px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== PLATFORM COMPARISON GRID ===== */
.wp-block-columns>.wp-block-column {
  gap: var(--wp--preset--spacing--8);
}

.wp-block-columns {
  gap: var(--wp--preset--spacing--8) !important;
}

/* ===== WORDPRESS BLOCK STYLES FOR CASE STUDIES ===== */

/* WordPress Spacing Variables */
:root {
  --wp--preset--spacing--2: 0.5rem;
  --wp--preset--spacing--4: 1rem;
  --wp--preset--spacing--6: 1.5rem;
  --wp--preset--spacing--8: 2rem;
  --wp--preset--spacing--12: 3rem;
  --wp--preset--spacing--16: 4rem;
  --wp--preset--spacing--section: 4rem;
}

/* WordPress Block Group */
.wp-block-group {
  box-sizing: border-box;
}

.wp-block-group.has-surface-primary-background-color {
  background-color: #ffffff;
}

.wp-block-group.has-surface-secondary-background-color {
  background-color: #f8f9fa;
}

/* WordPress Block Columns - Flexbox Layout */
.wp-block-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.wp-block-columns.are-vertically-aligned-center {
  align-items: center;
}

.wp-block-columns.are-vertically-aligned-top {
  align-items: flex-start;
}

/* WordPress Block Column */
.wp-block-column {
  flex: 1 1 50%;
  min-width: 0;
  box-sizing: border-box;
}

.wp-block-column.is-vertically-aligned-center {
  align-self: center;
}

.wp-block-column.is-vertically-aligned-top {
  align-self: flex-start;
}

/* WordPress Headings */
.wp-block-heading {
  margin: 0;
  padding: 0;
}

.wp-block-heading.has-text-align-center {
  text-align: center;
}

h1.wp-block-heading {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-top: 120px;
  color: #1a1a2e;
}

h3.wp-block-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0052a3;
  margin-bottom: 1rem;
}

/* WordPress Button Styles */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.wp-block-button {
  display: inline-block;
}

.wp-block-button__link {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wp-block-button__link.has-brand-secondary-background-color,
.wp-block-button__link.has-background {
  background-color: #0052a3 !important;
  color: #ffffff !important;
}

.wp-block-button__link.has-brand-secondary-background-color:hover,
.wp-block-button__link.has-background:hover {
  background-color: #003d7a !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 163, 0.3);
}

/* WordPress Image Styles */
.wp-block-image {
  margin: 0;
}

.wp-block-image.size-large {
  max-width: 100%;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Case Studies Page Specific Styles */
.case-study-image-column {
  flex: 0 0 40% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.case-study-content-column {
  flex: 0 0 55% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.case-study-content-column h3 {
  color: #0052a3;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.case-study-content-column p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Case Study Card Container */
.wp-block-group.has-surface-secondary-background-color.has-background {
  background-color: #f8f9fa;
  border-radius: 0;
  margin-bottom: 0 !important;
  border-bottom: 1px solid #e5e5e5;
}

/* Responsive Styles for Case Studies */
@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
    padding: 0 1rem;
  }

  .case-study-image-column,
  .case-study-content-column {
    flex: 1 1 100% !important;
  }

  h1.wp-block-heading {
    font-size: 1.8rem;
    padding-top: 100px;
  }

  h3.wp-block-heading {
    font-size: 1.25rem;
  }

  .case-study-content-column {
    padding: 1.5rem;
  }
}