﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/**
 * Modulex Brand Styles
 * Matches modulex.in design system exactly
 */

/* ===== MODULEX COLOR PALETTE ===== */
:root {
  --modulex-red: #0ea5e9;
  --modulex-dark-red: #0284c7;
  --modulex-darkgray: #575656;
  --modulex-lightgray: #E5E5E5;
  --modulex-offwhite: #F5F5F5;
  --modulex-white: #FFFFFF;
  --modulex-black: #000000;
}

/* ===== TYPOGRAPHY - POPPINS ===== */
.brand-modulex {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
}

.brand-modulex h1,
.brand-modulex h2,
.brand-modulex h3,
.brand-modulex h4,
.brand-modulex h5,
.brand-modulex h6,
.brand-modulex .wp-block-heading {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-weight: 400;
}

/* ===== MODULEX HEADER ===== */
.ppt-header--modulex {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.ppt-header--modulex.is-hidden {
  transform: translateY(-100%);
  visibility: hidden;
}

.ppt-header--modulex.is-translucent {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ppt-header--modulex.is-scrolled {
  background: var(--modulex-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ppt-header--modulex .ppt-header__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ppt-header--modulex .ppt-header__link {
  color: var(--modulex-darkgray);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  text-shadow: none;
}

/* Logo visibility — always show dark logo on whitish header */
.ppt-header--modulex .ppt-header__logo-light {
  display: none;
}

.ppt-header--modulex .ppt-header__logo-dark {
  display: block;
}

.ppt-header--modulex .ppt-header__link:hover {
  color: var(--modulex-red);
}

.ppt-header--modulex .ppt-header__contact-btn--modulex {
  background: var(--modulex-red);
  color: var(--modulex-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.ppt-header--modulex .ppt-header__contact-btn--modulex:hover {
  background: var(--modulex-dark-red);
}

/* ===== MODULEX HERO BANNER ===== */
.hero-banner--modulex {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-banner--modulex .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background images for each slide */
.hero-banner--modulex .swiper-slide.slide-1 {
  background-image: url('../images/modulex/hero-1.webp');
}

.hero-banner--modulex .swiper-slide.slide-2 {
  background-image: url('../images/modulex/hero-2.webp');
}

.hero-banner--modulex .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* 50% dark overlay per screenshots */
  z-index: 1;
}

.hero-banner--modulex .slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-banner--modulex .slide-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem); /* 32px to 64px per screenshot */
  font-weight: 400;
  font-style: normal;
  color: var(--modulex-white);
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: none;
  letter-spacing: 0.02em;
}

.hero-banner--modulex .slide-subtitle {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  text-shadow: none;
}

/* Two-part CTA button per modulex.in design */
.hero-banner--modulex .btn-modulex-wrapper {
  display: inline-flex;
  align-items: stretch;
}

.hero-banner--modulex .btn-modulex {
  display: inline-flex;
  align-items: center;
  background: var(--modulex-red) !important;
  color: var(--modulex-white) !important;
  padding: 1rem 1.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none; /* Title Case, not uppercase */
  letter-spacing: 0.02em;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-banner--modulex .btn-modulex-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--modulex-red);
  color: var(--modulex-white);
  padding: 1rem;
  border: none;
  border-radius: 0;
  border-left: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.hero-banner--modulex .btn-modulex-arrow svg {
  width: 16px;
  height: 16px;
  transform: rotate(-45deg);
}

.hero-banner--modulex .btn-modulex-wrapper:hover .btn-modulex,
.hero-banner--modulex .btn-modulex-wrapper:hover .btn-modulex-arrow {
  background: var(--modulex-dark-red) !important;
}

/* Bottom-left description text */
.hero-banner--modulex .hero-description {
  position: absolute;
  bottom: 4rem;
  left: 2rem;
  max-width: 400px;
  z-index: 2;
}

.hero-banner--modulex .hero-description p {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .hero-banner--modulex .hero-description {
    display: none;
  }
}

/* Hero Navigation Arrows */
.hero-banner--modulex .swiper-button-prev,
.hero-banner--modulex .swiper-button-next {
  width: 50px !important;
  height: 50px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 0 !important;
  color: var(--modulex-white) !important;
}

.hero-banner--modulex .swiper-button-prev:hover,
.hero-banner--modulex .swiper-button-next:hover {
  background: var(--modulex-red) !important;
  border-color: var(--modulex-red) !important;
}

.hero-banner--modulex .swiper-button-prev::after,
.hero-banner--modulex .swiper-button-next::after {
  font-size: 1rem !important;
  font-weight: 400;
}

/* Hero Pagination */
.hero-banner--modulex .swiper-pagination {
  bottom: 3rem !important;
}

.hero-banner--modulex .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border-radius: 0 !important;
  opacity: 1 !important;
}

.hero-banner--modulex .swiper-pagination-bullet-active {
  background: var(--modulex-red) !important;
}

/* ===== SHAPECUT STATISTICS CARDS ===== */
.stats-section--modulex {
  padding: 5rem 0;
  background: var(--modulex-offwhite);
}

.stats-grid--modulex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Shapecut card with 60-degree corner cuts - 40px cut size per specs */
.shapecut-card {
  position: relative;
  background: var(--modulex-lightgray);
  padding: 1px;
  /* Clip path for 60-degree corner cuts - top-right and bottom-left */
  clip-path: polygon(
    0 0,
    calc(100% - 40px) 0,
    100% 40px,
    100% 100%,
    40px 100%,
    0 calc(100% - 40px)
  );
}

.shapecut-card__inner {
  background: var(--modulex-white);
  padding: 1.5rem 1.5rem 2.5rem;
  text-align: left; /* Left-aligned per screenshot */
  clip-path: polygon(
    0 0,
    calc(100% - 40px) 0,
    100% 40px,
    100% 100%,
    40px 100%,
    0 calc(100% - 40px)
  );
}

.shapecut-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  /* Icons are sky blue - apply filter to make SVGs sky blue */
  color: #0ea5e9;
}

.shapecut-card__number {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.25rem, 5vw, 5.5rem); /* 36px to 88px per specs */
  font-weight: 400;
  color: var(--modulex-darkgray);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.shapecut-card__label {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--modulex-darkgray);
  text-transform: capitalize;
}

@media (max-width: 1024px) {
  .stats-grid--modulex {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-grid--modulex {
    grid-template-columns: 1fr;
  }

  .shapecut-card__number {
    font-size: 3rem;
  }
}

/* ===== COMMON SECTION STYLES ===== */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--modulex-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title-playfair {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  font-style: normal;
  color: var(--modulex-darkgray);
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}

.section-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--modulex-darkgray);
  margin-bottom: 2rem;
}

/* Section Header Grid (Two-column) */
.section-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

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

/* Tab Navigation */
.section-tabs {
  display: none !important;
  justify-content: center;
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid var(--modulex-lightgray);
  padding-top: 1.5rem;
}

.section-tab {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--modulex-darkgray);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.section-tab:hover {
  color: var(--modulex-red);
}

.section-tab.active {
  color: var(--modulex-red);
}

.section-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--modulex-red);
}

/* Two-part Button (used in sections) */
.section-container .btn-modulex-wrapper {
  display: inline-flex;
  align-items: stretch;
}

.section-container .btn-modulex {
  display: inline-flex;
  align-items: center;
  background: var(--modulex-red);
  color: var(--modulex-white);
  padding: 0.875rem 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 0;
  transition: background 0.3s ease;
}

.section-container .btn-modulex-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--modulex-red);
  color: var(--modulex-white);
  padding: 0.875rem;
  border-left: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s ease;
}

.section-container .btn-modulex-arrow svg {
  width: 14px;
  height: 14px;
}

.section-container .btn-modulex-wrapper:hover .btn-modulex,
.section-container .btn-modulex-wrapper:hover .btn-modulex-arrow {
  background: var(--modulex-dark-red);
}

/* ===== TECHNOLOGY SECTION ===== */
.technology-section--modulex {
  padding: 5rem 0;
  background: var(--modulex-offwhite);
}

/* Tech Image Cards Grid */
.tech-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tech-image-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.tech-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-image-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.tech-image-card__overlay h3 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: normal;
  color: var(--modulex-white);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .tech-image-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section--modulex {
  padding: 5rem 0;
  background: var(--modulex-white);
}

/* Solutions Two-Column Layout */
.solutions-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3rem;
  align-items: start;
}

.solutions-content {
  padding-right: 2rem;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-nav__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--modulex-lightgray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-nav__btn:hover {
  border-color: var(--modulex-red);
  color: var(--modulex-red);
}

.carousel-nav__btn svg {
  width: 20px;
  height: 20px;
}

/* Solutions Image Carousel */
.solutions-image-carousel {
  position: relative;
}

.solution-image-card {
  position: relative;
  overflow: hidden;
}

.solution-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.solution-image-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.solution-image-card__caption span {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  color: var(--modulex-white);
}

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

  .solutions-content {
    padding-right: 0;
  }
}

/* Legacy styles - kept for compatibility */
.solution-card--modulex .know-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--modulex-red);
  font-weight: 400;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.solution-card--modulex .know-more:hover {
  gap: 0.75rem;
}

.solution-card--modulex .know-more::after {
  content: '→';
}

@media (max-width: 768px) {
  .solutions-grid--modulex {
    grid-template-columns: 1fr;
  }
}

/* ===== USE CASES SECTION ===== */
.use-cases-section--modulex {
  padding: 5rem 0;
  background: var(--modulex-white);
}

/* Use Cases Header (Two-column) */
.usecases-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

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

/* Use Cases Layout (Image + Accordion) */
.usecases-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 3rem;
  align-items: start;
}

.usecases-image {
  position: relative;
  overflow: hidden;
}

.usecases-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Accordion List */
.usecases-accordion {
  display: flex;
  flex-direction: column;
}

.usecase-item {
  border-bottom: 1px solid var(--modulex-lightgray);
  padding: 1.25rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.usecase-item:first-child {
  border-top: 1px solid var(--modulex-lightgray);
}

.usecase-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.usecase-item__title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--modulex-darkgray);
  transition: color 0.3s ease;
}

.usecase-item__arrow {
  width: 16px;
  height: 16px;
  color: var(--modulex-darkgray);
  flex-shrink: 0;
}

.usecase-item__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0052a3;
  text-decoration: none;
}

.usecase-item__link svg {
  width: 14px;
  height: 14px;
}

/* Active State */
.usecase-item.active .usecase-item__title {
  color: #0052a3;
  font-weight: 500;
}

.usecase-item:hover .usecase-item__title {
  color: #0052a3;
}

@media (max-width: 1024px) {
  .usecases-layout {
    grid-template-columns: 1fr;
  }
}

/* Legacy - kept for compatibility */
.usecase-card--modulex .usecase-content {
  padding: 1.5rem;
  text-align: center;
}

.usecase-card--modulex h3 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--modulex-darkgray);
  margin-bottom: 1rem;
}

.usecase-card--modulex .know-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--modulex-red);
  font-weight: 400;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SUSTAINABILITY SECTION ===== */
.sustainability-section--modulex {
  padding: 5rem 0;
  background: var(--modulex-offwhite);
}

.sustainability-section--modulex h2 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--modulex-darkgray);
  margin-bottom: 3rem;
}

.sustainability-grid--modulex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sustainability-item {
  text-align: center;
}

.sustainability-item__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--modulex-red);
}

.sustainability-item__icon svg {
  width: 60px;
  height: 60px;
}

.sustainability-item__title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--modulex-darkgray);
  margin-bottom: 0.75rem;
}

.sustainability-item__description {
  font-size: 0.95rem;
  color: var(--modulex-darkgray);
  opacity: 0.8;
  line-height: 1.6;
}

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

/* ===== CTA SECTION ===== */
.cta-section--modulex {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('../images/homepage/cta-bg.webp') center/cover no-repeat;
  text-align: center;
}

.cta-section--modulex h2 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--modulex-white);
  margin-bottom: 1rem;
  text-transform: lowercase;
}

.cta-section--modulex p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section--modulex .btn-modulex {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--modulex-red);
  color: var(--modulex-white);
  padding: 1rem 2rem;
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-section--modulex .btn-modulex:hover {
  background: var(--modulex-dark-red);
}

/* ===== MODULEX FOOTER ===== */
.footer--modulex {
  background: var(--modulex-darkgray);
  color: var(--modulex-white);
  padding: 4rem 2rem 2rem;
}

.footer--modulex .footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer--modulex h4 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--modulex-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer--modulex ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer--modulex li {
  margin-bottom: 0.75rem;
}

.footer--modulex a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer--modulex a:hover {
  color: var(--modulex-red);
}

.footer--modulex .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 2rem auto 0;
  padding-top: 1rem;
}

.footer--modulex .footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer--modulex .social-links {
  display: flex;
  gap: 1rem;
}

.footer--modulex .social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  transition: all 0.3s ease;
}

.footer--modulex .social-links a:hover {
  background: var(--modulex-red);
}

@media (max-width: 1024px) {
  .footer--modulex .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer--modulex .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer--modulex .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ===== AOS-STYLE ANIMATIONS ===== */
/* Fade-up animation - visible by default, animates when JS adds is-animated class */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Optional: if JS animation is enabled */
.fade-up.will-animate {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation delays for staggered effect */
.fade-up[data-delay="200"] { transition-delay: 0.2s; }
.fade-up[data-delay="400"] { transition-delay: 0.4s; }
.fade-up[data-delay="600"] { transition-delay: 0.6s; }

/* ===== CONTAINER ===== */
.modulex-page .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTION TITLES ===== */
.modulex-page .section-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--modulex-darkgray);
  margin-bottom: 3rem;
  text-align: center;
}

/* ===== TECH CARDS ===== */
.tech-card {
  text-align: center;
  padding: 1rem;
}

.tech-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tech-card__emoji {
  font-size: 4rem;
}

.tech-card__title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--modulex-darkgray);
  margin-bottom: 0.5rem;
}

.tech-card__desc {
  font-size: 0.95rem;
  color: var(--modulex-darkgray);
  opacity: 0.7;
}

/* ===== SOLUTION IMAGE PLACEHOLDER ===== */
.solution-image__placeholder,
.usecase-image__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card--modulex .solution-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.solution-card--modulex .solution-content {
  padding: 1.5rem;
  text-align: center;
  background: var(--modulex-white);
}

.usecase-card--modulex .usecase-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.usecase-card--modulex .usecase-content {
  padding: 1.5rem;
  text-align: center;
  background: var(--modulex-white);
}

/* ===== KNOW MORE LINK ===== */
.know-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--modulex-red);
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap 0.3s ease;
}

.know-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.know-more:hover {
  gap: 0.75rem;
}

.know-more:hover::after {
  transform: translateX(3px);
}

/* ===== CTA SECTION CONTENT ===== */
.cta-section--modulex .cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.cta-section--modulex .cta-content h2 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--modulex-white);
  margin-bottom: 1rem;
  text-transform: lowercase;
}

.cta-section--modulex .cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.cta-section--modulex .btn-modulex {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--modulex-red);
  color: var(--modulex-white);
  padding: 1rem 2rem;
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-section--modulex .btn-modulex::after {
  content: '→';
  font-size: 1.1rem;
}

.cta-section--modulex .btn-modulex:hover {
  background: var(--modulex-dark-red);
  transform: translateY(-2px);
}

/* ===== SWIPER CUSTOMIZATIONS FOR MODULEX ===== */
.modulex-page .swiper-pagination-bullet {
  background: var(--modulex-lightgray);
  opacity: 1;
  border-radius: 0;
  width: 12px;
  height: 12px;
}

.modulex-page .swiper-pagination-bullet-active {
  background: var(--modulex-red);
}

/* Use cases carousel specific */
.use-cases-carousel .swiper {
  padding-bottom: 3rem;
}

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

/* Tech carousel specific */
.technology-carousel .swiper {
  padding-bottom: 3rem;
}

.technology-carousel .swiper-slide {
  width: 280px;
}

/* ===== PARALLAX ZOOM IMAGE SECTION ===== */
.impact-image-wrapper {
  margin-top: -5rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.impact-image-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #f5f5f5;
}

.impact-image-parallax {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transform-origin: center center;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .impact-image-wrapper {
    margin-top: -4rem;
  }

  .impact-image-container {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .impact-image-wrapper {
    margin-top: -3rem;
  }

  .impact-image-container {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .impact-image-wrapper {
    margin-top: -2rem;
  }

  .impact-image-container {
    height: 300px;
  }
}

/* ===== ABOUT PAGE SECTIONS ===== */

/* Hide default page title on About page */
.page .wp-block-post-title {
  display: none;
}

/* About Hero Section */
.about-hero--modulex {
  text-align: center;
}

.about-hero__title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  color: var(--modulex-darkgray);
}

.about-hero__subtitle {
  color: var(--modulex-darkgray);
  opacity: 0.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mission & Vision Section */
.mission-vision-section--modulex .mission-vision-grid {
  gap: 2rem;
}

.mission-vision-card__icon {
  width: 48px;
  height: 48px;
  color: var(--modulex-red);
}

.mission-vision-card__icon svg {
  width: 100%;
  height: 100%;
}

.mission-vision-card__title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  color: var(--modulex-darkgray);
}

.mission-vision-card__description {
  color: var(--modulex-darkgray);
  opacity: 0.85;
}

/* Core Values Section */
.core-values-section--modulex .core-values-grid {
  gap: 2rem;
}

.core-value-card__icon {
  width: 40px;
  height: 40px;
  color: var(--modulex-red);
  margin-bottom: 1rem;
}

.core-value-card__icon svg {
  width: 100%;
  height: 100%;
}

.core-value-card__inner {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-value-card__inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Leadership Section */
.leadership-section--modulex .leadership-grid {
  gap: 2rem;
}

.leadership-card__inner {
  text-align: center;
}

.leadership-card__image {
  margin-bottom: 0;
}

.leadership-card__image img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(
    0 0,
    calc(100% - 30px) 0,
    100% 30px,
    100% 100%,
    0 100%
  );
}

.leadership-card__name {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  color: var(--modulex-darkgray);
}

.leadership-card__title {
  color: var(--modulex-darkgray);
  opacity: 0.7;
}

.leadership-card__linkedin a {
  color: var(--modulex-red);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.leadership-card__linkedin a:hover {
  opacity: 0.8;
}

.leadership__section-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  color: var(--modulex-darkgray);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mission-vision-section--modulex .mission-vision-grid,
  .core-values-section--modulex .core-values-grid,
  .leadership-section--modulex .leadership-grid {
    flex-direction: column;
  }
}

/* About Impact Image Section */
.about-impact-image--modulex {
  width: 100%;
  overflow: hidden;
}

.about-impact-image__full {
  margin: 0;
}

.about-impact-image__full img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: cover;
}

/* About Commitment Section */
.about-commitment-layout {
  align-items: center;
}

.commitment-features {
  list-style: none;
  padding-left: 0;
}

.commitment-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--modulex-darkgray);
}

.commitment-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--modulex-red);
  font-weight: 700;
  font-size: 1.2rem;
}

.commitment-features li strong {
  font-weight: 600;
  color: var(--modulex-darkgray);
}

.commitment-image-clip img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(
    40px 0,
    100% 0,
    100% calc(100% - 40px),
    calc(100% - 40px) 100%,
    0 100%,
    0 40px
  );
}

/* About Stats Section */
.about-stats-section--modulex .stats-grid--modulex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .about-stats-section--modulex .stats-grid--modulex {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-commitment-layout {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .about-stats-section--modulex .stats-grid--modulex {
    grid-template-columns: 1fr;
  }
}

/* Section Label */
.section-label {
  color: var(--modulex-red);
  display: block;
}

/* CTA Section Button Styles */
.cta-section--modulex .btn-modulex .wp-block-button__link {
  background: var(--modulex-red) !important;
  color: var(--modulex-white) !important;
  padding: 1rem 2rem;
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-section--modulex .btn-modulex .wp-block-button__link:hover {
  background: var(--modulex-dark-red) !important;
  transform: translateY(-2px);
}

.cta-section--modulex .btn-modulex .wp-block-button__link::after {
  content: '→';
  font-size: 1.1rem;
}

/* ===== ORACLE PAGE STYLES ===== */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Full-width Oracle page - Force all containers to be full-width */
.oracle-page html,
.oracle-page body,
body.oracle-page,
main.oracle-page {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden;
}

/* Force HTML element to full width on Oracle page */
html:has(body.oracle-page) {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

html:has(main.oracle-page),
body:has(main.oracle-page),
html:has(main.d365-page),
body:has(main.d365-page),
html:has(main.sap-page),
body:has(main.sap-page) {
  overflow-x: hidden;
}

.oracle-page > * {
  max-width: 100% !important;
  width: 100% !important;
}

.oracle-page .wp-block-post-content,
.oracle-page .wp-block-post-content > *,
.oracle-page .wp-block-group {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Override WordPress root padding aware alignments for benefits sections */
.oracle-benefits,
.d365-benefits,
.sap-benefits {
  --wp--style--root--padding-left: 0 !important;
  --wp--style--root--padding-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove global padding inheritance */
:where(.wp-block-group.has-global-padding.oracle-benefits),
:where(.wp-block-group.has-global-padding.d365-benefits),
:where(.wp-block-group.has-global-padding.sap-benefits) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Override root padding for alignfull benefits sections */
.wp-block-group.alignfull.oracle-benefits,
.wp-block-group.alignfull.d365-benefits,
.wp-block-group.alignfull.sap-benefits {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Override any child element padding from WordPress layout system */
.oracle-benefits > *,
.d365-benefits > *,
.sap-benefits > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Make all Oracle sections full-width */
.oracle-hero,
.oracle-benefits,
.oracle-comparison,
.oracle-advantage {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

/* Remove default WordPress post title */
.oracle-page .wp-block-post-title {
  display: none;
}

/* ===== D365 PAGE LAYOUT ===== */
.d365-page html,
.d365-page body,
body.d365-page,
main.d365-page {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden;
}

/* Force HTML element to full width on D365 page */
html:has(body.d365-page) {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.d365-page > * {
  max-width: 100% !important;
  width: 100% !important;
}

.d365-page .wp-block-post-content,
.d365-page .wp-block-post-content > *,
.d365-page .wp-block-group {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Make all D365 sections full-width */
.d365-hero,
.d365-benefits,
.d365-comparison,
.d365-migrations,
.d365-advantage {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

/* Remove default WordPress post title */
.d365-page .wp-block-post-title {
  display: none;
}

/* ===== SAP PAGE LAYOUT ===== */
.sap-page html,
.sap-page body,
body.sap-page,
main.sap-page {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden;
}

/* Force HTML element to full width on SAP page */
html:has(body.sap-page) {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sap-page > * {
  max-width: 100% !important;
  width: 100% !important;
}

.sap-page .wp-block-post-content,
.sap-page .wp-block-post-content > *,
.sap-page .wp-block-group {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Make all SAP sections full-width */
.sap-hero,
.sap-benefits,
.sap-comparison,
.sap-migrations,
.sap-advantage {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

/* Remove default WordPress post title */
.sap-page .wp-block-post-title {
  display: none;
}

/* Discovery Call CTA - Full Width */
.discovery-cta-fullwidth {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  min-height: 600px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.discovery-cta-fullwidth .wp-block-cover__background {
  z-index: 1 !important;
}

.discovery-cta-fullwidth .wp-block-cover__image-background {
  object-position: center center;
  z-index: 0 !important;
}

.discovery-cta-fullwidth .wp-block-group {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  max-width: 1200px !important;
  padding: 0 2rem !important;
}

.discovery-cta-fullwidth h2 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem !important;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.discovery-cta-fullwidth p {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem) !important;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #ffffff !important;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.discovery-cta-fullwidth .wp-block-buttons {
  margin-top: 2rem !important;
}

.discovery-cta-fullwidth .wp-block-button__link {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  padding: 1rem 2.5rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: #0ea5e9 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
  border: none !important;
}

.discovery-cta-fullwidth .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.6);
  background-color: #0284c7 !important;
}

/* Oracle Hero Section */
.oracle-hero {
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  padding: 10rem 2rem 6rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  min-height: 600px !important;
  display: flex;
  align-items: center;
}

.oracle-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.oracle-hero-container {
  width: 100%;
  max-width: 1400px;
  box-sizing: border-box;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.oracle-hero-content {
  max-width: 600px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.oracle-hero-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.oracle-hero-definition p {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
}

.oracle-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.oracle-hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

/* Oracle Services Section */
.oracle-services-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 5rem 2rem;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative;
}

.oracle-services-section::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.oracle-services-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.oracle-services-content {
  max-width: 540px;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.oracle-services-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.oracle-services-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
}

.oracle-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.oracle-service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 600;
  color: #0a1628;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.oracle-service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0052a3 0%, #0052cc 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.oracle-service-item:hover {
  transform: translateX(8px);
  border-color: #0052a3;
  box-shadow: 0 8px 24px -4px rgba(0, 102, 255, 0.15),
              0 4px 12px -2px rgba(0, 0, 0, 0.05);
}

.oracle-service-item:hover::before {
  opacity: 1;
}

.service-check-icon {
  width: 28px;
  height: 28px;
  color: #0052a3;
  flex-shrink: 0;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.2));
  transition: transform 0.3s ease;
}

.oracle-service-item:hover .service-check-icon {
  transform: scale(1.15) rotate(5deg);
}

/* Oracle Benefits Section */
.oracle-benefits {
  background: transparent;
  padding: 0 !important;
}

/* Remove all spacing inside benefits section */
.oracle-benefits > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.oracle-benefits-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.oracle-benefits-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.oracle-benefits-header .section-title-playfair {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.oracle-benefits-header .section-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: #475569;
  font-weight: 400;
}

.oracle-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 3rem;
  margin-top: 4rem;
}

.benefit-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(14, 165, 233, 0.3);
  background: #ffffff;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: #0ea5e9;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.benefit-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(0.9375rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: #475569;
  font-weight: 400;
}

/* Single Benefits Carousel */
.benefits-carousel-wrapper {
  margin: 0 !important;
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding: 0 !important;
  /* Override WordPress layout constraints */
  --wp--style--root--padding-left: 0 !important;
  --wp--style--root--padding-right: 0 !important;
}

/* Remove gap after carousel */
.benefits-carousel-wrapper + * {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove WordPress block spacing */
.wp-block-group.sap-benefits .wp-block-html,
.wp-block-group.d365-benefits .wp-block-html,
.wp-block-group.oracle-benefits .wp-block-html {
  margin: 0 !important;
  padding: 0 !important;
}

/* Force carousel to ignore global padding */
:where(.has-global-padding) > .benefits-carousel-wrapper {
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.benefits-swiper {
  width: 100% !important;
  max-width: none !important;
  height: 650px;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
}

.benefits-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.benefits-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.benefit-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.benefit-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.50) 100%);
  z-index: 2;
}

.benefit-slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 3rem;
  max-width: 900px;
}

.benefit-slide-heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Swiper Navigation Controls */
.benefits-swiper .swiper-button-prev,
.benefits-swiper .swiper-button-next {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.benefits-swiper .swiper-button-prev:hover,
.benefits-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.benefits-swiper .swiper-button-prev::after,
.benefits-swiper .swiper-button-next::after {
  font-size: 22px;
  font-weight: bold;
}

/* Swiper Pagination */
.benefits-swiper .swiper-pagination {
  bottom: 30px;
}

.benefits-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ffffff;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.benefits-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 36px;
  border-radius: 6px;
  background: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .benefits-swiper {
    height: 550px;
  }

  .benefit-slide-heading {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .benefits-swiper {
    height: 450px;
  }

  .benefit-slide-content {
    padding: 2rem 1.5rem;
  }

  .benefit-slide-heading {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .benefits-swiper .swiper-button-prev,
  .benefits-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
  }

  .benefits-swiper .swiper-button-prev::after,
  .benefits-swiper .swiper-button-next::after {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .benefits-swiper {
    height: 400px;
  }

  .benefit-slide-heading {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .benefits-swiper .swiper-pagination {
    bottom: 20px;
  }
}

/* Oracle Comparison Section */
.oracle-comparison {
  background: #e2e8f0;
  padding: 8rem 2rem;
}

.oracle-comparison-container {
  max-width: 1400px;
  margin: 0 auto;
}

.oracle-comparison-header {
  text-align: center;
  margin-bottom: 4rem;
}

.oracle-comparison-header .section-title-playfair {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #0a1628;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
}

.comparison-table thead {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  color: #ffffff;
}

.comparison-table th {
  padding: 1.75rem 2rem;
  text-align: left;
  font-weight: 600;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  letter-spacing: 0.01em;
}

.comparison-table td {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: clamp(0.9375rem, 1vw, 1rem);
  line-height: 1.7;
  color: #475569;
  font-weight: 400;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table .feature-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: #0a1628;
}

.comparison-table .feature-icon {
  width: 32px;
  height: 32px;
  color: #0ea5e9;
  flex-shrink: 0;
}

.comparison-table .feature-icon svg {
  width: 100%;
  height: 100%;
}

.comparison-table .highlight {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.03) 100%);
  color: #0a1628;
  font-weight: 500;
}

.comparison-table .feature-col {
  width: 25%;
}

.comparison-table .traditional-col,
.comparison-table .artemis-col {
  width: 37.5%;
}

/* Oracle Migrations Section */
.oracle-migrations {
  background: #ffffff;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.oracle-migrations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255, 140, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.oracle-migrations-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.oracle-migrations-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.oracle-migrations-header .section-title-playfair {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.oracle-migrations-header .section-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
}

.migrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.migration-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1.5px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.migration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0052a3 0%, #0052cc 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.migration-card:hover {
  transform: translateY(-8px);
  border-color: #0052a3;
  box-shadow: 0 16px 48px -8px rgba(0, 102, 255, 0.2),
              0 8px 24px -4px rgba(0, 0, 0, 0.08);
}

.migration-card:hover::before {
  transform: scaleX(1);
}

.migration-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8d1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  transition: all 0.4s ease;
}

.migration-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0052a3 0%, #0052cc 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.migration-card:hover .migration-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, #0052a3 0%, #0052cc 100%);
}

.migration-card:hover .migration-icon-wrapper::before {
  opacity: 0.15;
}

.migration-icon {
  width: 40px;
  height: 40px;
  color: #0052a3;
  stroke-width: 2;
  transition: all 0.4s ease;
}

.migration-card:hover .migration-icon {
  color: #ffffff;
  transform: scale(1.1);
}

.migration-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.25rem, 1.4vw, 1.375rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.migration-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(0.9375rem, 1.05vw, 1rem);
  line-height: 1.7;
  color: #64748b;
  font-weight: 400;
  margin: 0;
}

/* Oracle Advantage Section */
.oracle-advantage {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 8rem 2rem;
}

.oracle-advantage-container {
  max-width: 1400px;
  margin: 0 auto;
}

.oracle-advantage-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 6rem;
  align-items: start;
}

.oracle-advantage-sticky {
  position: sticky;
  top: 120px;
}

.oracle-advantage-sticky .section-title-playfair {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.oracle-advantage-image {
  margin-top: 2rem;
}

.oracle-advantage-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.oracle-advantage-image img:hover {
  transform: scale(1.02);
}

.oracle-advantage-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.advantage-card {
  padding: 2.5rem;
  background: #ffffff;
  border-left: 4px solid #0ea5e9;
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0ea5e9;
}

.advantage-card:hover {
  background: #ffffff;
  border-left-width: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateX(8px);
}

.advantage-card-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.advantage-card-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.7;
  color: #475569;
  font-weight: 400;
}

/* Responsive Styles for Oracle Page */
@media (max-width: 1024px) {
  .oracle-services-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .oracle-services-content {
    max-width: 100%;
    position: static;
  }

  .oracle-service-item {
    padding: 1.5rem 1.75rem;
  }

  .oracle-service-item:hover {
    transform: translateX(4px);
  }

  .oracle-benefits,
  .oracle-comparison,
  .oracle-migrations,
  .oracle-advantage {
    padding: 6rem 2rem;
  }

  .oracle-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .migrations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .migration-card {
    padding: 2.5rem 1.75rem;
  }

  .oracle-advantage-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .oracle-advantage-sticky {
    position: static;
  }
}

/* ===== STICKY IMAGE SCROLL SECTION ===== */
.sticky-scroll-section {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

.sticky-scroll-section > div:first-child {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sticky-scroll-image {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 500px;
}

.sticky-scroll-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sticky-scroll-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sticky-scroll-item {
  padding: 2rem 0;
  background: transparent;
  border-radius: 0;
  border-left: 4px solid #e5e7eb;
  padding-left: 2rem;
  transition: all 0.3s ease;
}

.sticky-scroll-item:hover {
  border-left-color: #2196F3;
}

.sticky-scroll-item__icon {
  width: 48px;
  height: 48px;
  color: #60a5fa;
  margin-bottom: 1.5rem;
  stroke: #60a5fa;
}

.sticky-scroll-item__icon svg {
  width: 100%;
  height: 100%;
}

.sticky-scroll-item__title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.sticky-scroll-item__description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .sticky-scroll-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .sticky-scroll-section > div:first-child {
    position: static;
    top: auto;
  }

  .sticky-scroll-image {
    position: relative;
    top: auto;
    max-height: none;
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .oracle-services-section {
    padding: 5rem 1.5rem;
  }

  .oracle-services-container {
    gap: 3rem;
  }

  .oracle-service-item {
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }

  .service-check-icon {
    width: 24px;
    height: 24px;
  }

  .oracle-benefits,
  .oracle-comparison,
  .oracle-migrations,
  .oracle-advantage {
    padding: 4rem 1.5rem;
  }

  .oracle-benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .migration-card {
    padding: 2rem 1.5rem;
  }

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

  .benefit-card {
    padding: 2rem 1.5rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1.25rem 1rem;
  }

  .advantage-card {
    padding: 2rem 1.5rem;
  }

  .advantage-card:hover {
    transform: translateX(4px);
  }
}

@media (max-width: 640px) {
  .oracle-services-section {
    padding: 4rem 1.25rem;
  }

  .oracle-services-container {
    gap: 2.5rem;
  }

  .oracle-service-item {
    padding: 1rem 1.25rem;
  }

  .oracle-service-item:hover {
    transform: translateX(2px);
  }

  .oracle-benefits,
  .oracle-comparison,
  .oracle-migrations,
  .oracle-advantage {
    padding: 3rem 1.25rem;
  }

  .oracle-benefits-header,
  .oracle-comparison-header,
  .oracle-migrations-header {
    margin-bottom: 3rem;
  }

  .migration-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }

  .migration-icon {
    width: 36px;
    height: 36px;
  }

  .comparison-table-wrapper {
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
  }

  .business-functions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .function-item {
    padding: 1rem;
    font-size: 0.9375rem;
  }
}

/* ===== ORACLE BUSINESS FUNCTIONS V2 - FLIP CARDS ===== */
.oracle-business-functions-v2 {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.oracle-business-functions-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(0, 82, 204, 0.05) 100%);
  z-index: 0;
}

.oracle-business-functions-v2-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.business-functions-v2-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.business-functions-v2-header .section-title-playfair {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.business-functions-v2-header .section-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: #475569;
  font-weight: 400;
}

.business-functions-v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.function-card-v2 {
  perspective: 1000px;
  height: 380px;
  position: relative;
}

.function-card-v2-front,
.function-card-v2-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.function-card-v2-front {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotateY(0deg);
  cursor: pointer;
}

.function-card-v2-back {
  background: linear-gradient(135deg, #0052a3 0%, #0052cc 100%);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.function-card-v2:hover .function-card-v2-front {
  transform: rotateY(-180deg);
}

.function-card-v2:hover .function-card-v2-back {
  transform: rotateY(0deg);
}

.function-icon-wrapper-v2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0052a3 0%, #0052cc 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
  transition: all 0.3s ease;
}

.function-card-v2:hover .function-icon-wrapper-v2 {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.35);
}

.function-icon-v2 {
  width: 40px;
  height: 40px;
  color: #ffffff;
  stroke-width: 2;
}

.function-card-title-v2 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #0a1628;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.function-card-description-v2 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.function-card-count-v2 {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 82, 204, 0.15) 100%);
  color: #0052a3;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.function-card-arrow-v2 {
  width: 24px;
  height: 24px;
  color: #0052a3;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.function-card-v2:hover .function-card-arrow-v2 {
  opacity: 1;
  transform: translateX(4px);
}

.function-card-arrow-v2 svg {
  width: 100%;
  height: 100%;
}

/* Back side styles */
.function-card-back-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.function-icon-v2-small {
  width: 28px;
  height: 28px;
  color: #ffffff;
  stroke-width: 2;
  flex-shrink: 0;
}

.function-card-back-header h4 {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.function-list-v2 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.function-list-v2 li {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.function-list-v2 li:hover {
  background: rgba(255, 255, 255, 0.2);
  border-left-color: #ffffff;
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .oracle-business-functions-v2 {
    padding: 5rem 1.5rem;
  }

  .business-functions-v2-grid {
    gap: 1.5rem;
  }

  .function-card-v2 {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .oracle-business-functions-v2 {
    padding: 4rem 1.25rem;
  }

  .business-functions-v2-header {
    margin-bottom: 3rem;
  }

  .business-functions-v2-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .function-card-v2 {
    height: 340px;
  }

  .function-card-v2-front,
  .function-card-v2-back {
    padding: 2rem 1.5rem;
  }

  .function-icon-wrapper-v2 {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }

  .function-icon-v2 {
    width: 36px;
    height: 36px;
  }

  .function-card-title-v2 {
    font-size: 1.25rem;
  }

  .function-card-description-v2 {
    font-size: 0.875rem;
  }

  .function-list-v2 li {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
  }
}

/* ===== ORACLE BUSINESS FUNCTIONS SECTION (OLD - KEEP FOR FALLBACK) ===== */
.oracle-business-functions {
  background: #ffffff;
  padding: 6rem 2rem;
}

.oracle-business-functions-container {
  max-width: 1400px;
  margin: 0 auto;
}

.oracle-business-functions-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.oracle-business-functions-header .section-title-playfair {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.oracle-business-functions-header .section-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: #475569;
  font-weight: 400;
}

.business-functions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.business-function-group {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.business-function-group:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.function-header {
  background: linear-gradient(135deg, #0052a3 0%, #0052cc 100%);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.function-icon {
  width: 32px;
  height: 32px;
  color: #ffffff;
  flex-shrink: 0;
  stroke-width: 2;
}

.function-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.function-items {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.function-item {
  background: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.function-item:hover {
  background: #ffffff;
  border-color: #0052a3;
  color: #0052a3;
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .oracle-business-functions {
    padding: 5rem 1.5rem;
  }

  .business-functions-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .oracle-business-functions {
    padding: 4rem 1.25rem;
  }

  .oracle-business-functions-header {
    margin-bottom: 3rem;
  }

  .business-functions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .function-header {
    padding: 1.25rem 1.5rem;
  }

  .function-icon {
    width: 28px;
    height: 28px;
  }

  .function-title {
    font-size: 1rem;
  }

  .function-items {
    padding: 1.25rem;
    gap: 0.5rem;
  }

  .function-item {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }
  .sticky-scroll-section {
    padding: 1.5rem;
  }

  .sticky-scroll-item {
    padding: 1.5rem;
  }

  .sticky-scroll-item__title {
    font-size: 1.25rem;
  }
}

/* ===== SAP PAGE STYLES ===== */

/* SAP Hero Section */
.sap-hero {
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  padding: 10rem 2rem 6rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  min-height: 600px !important;
  display: flex;
  align-items: center;
}

.sap-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.sap-hero-container {
  width: 100%;
  max-width: 1400px;
  box-sizing: border-box;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 0 2rem;
}

.sap-hero-content {
  max-width: 600px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.sap-hero-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sap-hero-definition p {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
}

.sap-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.sap-hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

/* SAP Services Section */
.sap-services-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 5rem 2rem;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative;
}

.sap-services-section::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.sap-services-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.sap-services-content {
  max-width: 540px;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.sap-services-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sap-services-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
}

.sap-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sap-service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0a1628;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sap-service-item:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #0066cc;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.08);
}

/* SAP Benefits Section */
.sap-benefits {
  background: transparent;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

/* Remove all spacing inside benefits section */
.sap-benefits > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.sap-benefits-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sap-benefits-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.sap-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* SAP Comparison Section */
.sap-comparison {
  padding: 6rem 2rem;
  background: #ffffff;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.sap-comparison-container {
  max-width: 1400px;
  margin: 0 auto;
}

.sap-comparison-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* SAP Migrations Section */
.sap-migrations {
  background: #ffffff;
  padding: 6rem 2rem;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.sap-migrations-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sap-migrations-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

/* SAP Business Functions */
.sap-business-functions-v2 {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 6rem 2rem;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.sap-business-functions-v2-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== D365 PAGE STYLES ===== */

/* D365 Hero Section */
.d365-hero {
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  padding: 10rem 2rem 6rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  min-height: 600px !important;
  display: flex;
  align-items: center;
}

.d365-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.d365-hero-container {
  width: 100%;
  max-width: 1400px;
  box-sizing: border-box;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 0 2rem;
}

.d365-hero-content {
  max-width: 600px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.d365-hero-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.d365-hero-definition p {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
}

.d365-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.d365-hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

/* Shared inner spacing for the three platform pages. */
.oracle-page .oracle-hero-container,
.oracle-page .oracle-services-container,
.oracle-page .oracle-benefits-container,
.oracle-page .oracle-comparison-container,
.oracle-page .oracle-migrations-container,
.oracle-page .oracle-advantage-container,
.oracle-page .oracle-business-functions-container,
.oracle-page .oracle-business-functions-v2-container,
.oracle-page .oracle-ai-agents-container,
.d365-page .d365-hero-container,
.d365-page .d365-services-container,
.d365-page .d365-benefits-container,
.d365-page .d365-comparison-container,
.d365-page .d365-migrations-container,
.d365-page .d365-business-functions-v2-container,
.sap-page .sap-hero-container,
.sap-page .sap-services-container,
.sap-page .sap-benefits-container,
.sap-page .sap-comparison-container,
.sap-page .sap-migrations-container,
.sap-page .sap-business-functions-container,
.sap-page .sap-business-functions-v2-container {
  width: min(100%, 1400px);
  box-sizing: border-box;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.oracle-page .oracle-business-functions-v2-container,
.sap-page .sap-migrations-container,
.sap-page .sap-business-functions-v2-container,
.d365-page .d365-business-functions-v2-container {
  width: min(100%, 1400px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.oracle-page .oracle-hero-container,
.d365-page .d365-hero-container,
.sap-page .sap-hero-container {
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 1024px) {
  .oracle-page .oracle-hero-container,
  .oracle-page .oracle-services-container,
  .oracle-page .oracle-benefits-container,
  .oracle-page .oracle-comparison-container,
  .oracle-page .oracle-migrations-container,
  .oracle-page .oracle-advantage-container,
  .oracle-page .oracle-business-functions-container,
  .oracle-page .oracle-business-functions-v2-container,
  .oracle-page .oracle-ai-agents-container,
  .d365-page .d365-hero-container,
  .d365-page .d365-services-container,
  .d365-page .d365-benefits-container,
  .d365-page .d365-comparison-container,
  .d365-page .d365-migrations-container,
  .d365-page .d365-business-functions-v2-container,
  .sap-page .sap-hero-container,
  .sap-page .sap-services-container,
  .sap-page .sap-benefits-container,
  .sap-page .sap-comparison-container,
  .sap-page .sap-migrations-container,
  .sap-page .sap-business-functions-container,
  .sap-page .sap-business-functions-v2-container {
    padding-left: clamp(1.25rem, 5vw, 2rem);
    padding-right: clamp(1.25rem, 5vw, 2rem);
  }
}

/* D365 Services Section */
.d365-services-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 5rem 2rem;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative;
}

.d365-services-section::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.d365-services-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.d365-services-content {
  max-width: 540px;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.d365-services-title {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.d365-services-description {
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
}

.d365-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.d365-service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: Manrope, "Manrope Fallback", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0a1628;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.d365-service-item:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #0066cc;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.08);
}

/* D365 Benefits Section */
.d365-benefits {
  background: transparent;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

/* Remove all spacing inside benefits section */
.d365-benefits > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.d365-benefits-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.d365-benefits-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.d365-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* D365 Comparison Section */
.d365-comparison {
  padding: 6rem 2rem;
  background: #ffffff;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.d365-comparison-container {
  max-width: 1400px;
  margin: 0 auto;
}

.d365-comparison-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* D365 Migrations Section */
.d365-migrations {
  background: #ffffff;
  padding: 6rem 2rem;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.d365-migrations-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.d365-migrations-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

/* D365 Business Functions */
.d365-business-functions-v2 {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 6rem 2rem;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.d365-business-functions-v2-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== RESPONSIVE STYLES FOR SAP & D365 ===== */

/* ===== RESPONSIVE STYLES FOR ORACLE, SAP & D365 ===== */

@media (max-width: 1024px) {
  .oracle-hero-container,
  .sap-hero-container,
  .d365-hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .oracle-services-container,
  .sap-services-container,
  .d365-services-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .oracle-hero-content,
  .sap-hero-content,
  .d365-hero-content,
  .oracle-services-content,
  .sap-services-content,
  .d365-services-content {
    max-width: 100%;
    position: static;
  }

  .sap-service-item,
  .d365-service-item {
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }

  .sap-benefits-grid,
  .d365-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .oracle-hero,
  .sap-hero,
  .d365-hero {
    padding: 5rem 1.5rem;
  }

  .sap-services-section,
  .d365-services-section {
    padding: 5rem 1.5rem;
  }

  .sap-services-container,
  .d365-services-container {
    gap: 3rem;
  }

  .sap-service-item,
  .d365-service-item {
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }

  .sap-benefits-grid,
  .d365-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sap-benefits,
  .sap-comparison,
  .sap-migrations,
  .sap-business-functions-v2,
  .d365-benefits,
  .d365-comparison,
  .d365-migrations,
  .d365-business-functions-v2 {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .oracle-hero,
  .sap-hero,
  .d365-hero {
    padding: 4rem 1.25rem;
  }

  .sap-services-section,
  .d365-services-section {
    padding: 4rem 1.25rem;
  }

  .sap-services-container,
  .d365-services-container {
    gap: 2.5rem;
  }

  .sap-service-item,
  .d365-service-item {
    padding: 1rem 1.25rem;
  }

  .sap-service-item:hover,
  .d365-service-item:hover {
    transform: translateX(2px);
  }
}

/* D365 Tactical Resource Augmentation */
.d365-tactical-section {
  margin-top: 6rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.d365-tactical-section .section-title-playfair {
  margin-bottom: 1.5rem;
}

.d365-tactical-section .section-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #64748b;
}
