/* section Cards Section */
section {
  padding: 20px 0; 
}

/* ============================================
   REUSABLE ANIMATION SYSTEM
   ============================================ */

/* Animation keyframes */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ============================================
   GENERAL ANIMATION CLASSES
   ============================================ */

/* Base animation properties for any element */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  animation-fill-mode: both;
}

/* Animation variants */
.animate-on-scroll.slide-up {
  animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-on-scroll.fade-scale {
  animation: fadeInScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-on-scroll.fade-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-on-scroll.fade-right {
  animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Staggered animation delays for card grids */
.animate-stagger .animate-on-scroll:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger .animate-on-scroll:nth-child(2) { animation-delay: 0.15s; }
.animate-stagger .animate-on-scroll:nth-child(3) { animation-delay: 0.2s; }
.animate-stagger .animate-on-scroll:nth-child(4) { animation-delay: 0.25s; }
.animate-stagger .animate-on-scroll:nth-child(5) { animation-delay: 0.3s; }
.animate-stagger .animate-on-scroll:nth-child(6) { animation-delay: 0.35s; }
.animate-stagger .animate-on-scroll:nth-child(7) { animation-delay: 0.4s; }
.animate-stagger .animate-on-scroll:nth-child(8) { animation-delay: 0.45s; }
.animate-stagger .animate-on-scroll:nth-child(9) { animation-delay: 0.5s; }
.animate-stagger .animate-on-scroll:nth-child(10) { animation-delay: 0.55s; }

/* Active state when animation is triggered */
.animate-on-scroll.animate-in {
  /* Animation will be handled by the specific animation class */
}

/* ============================================
   ENHANCED HOVER EFFECTS (Reusable)
   ============================================ */

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.hover-lift-subtle {
  transition: all 0.3s ease;
}

.hover-lift-subtle:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ============================================
   SPECIFIC IMPLEMENTATIONS
   ============================================ */

 

/* Apply animation classes to section cards */
.card-item.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation-fill-mode: both;
}

.card-item.animate-on-scroll.animate-in {
  animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

 

section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.2;
}

section .subtitle {
  font-size: 1.3rem;
  color: #666;
  font-weight: 400;
}

.sections-card-grid {
  display: grid;
  
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.sections-card-grid.industry-carousel-grid {
  display: block;
  grid-template-columns: 1fr;
  width: 100%;
}

 

.grid-col-6{
 grid-template-columns: repeat(6, 1fr);
}
.grid-col-5{
 grid-template-columns: repeat(5, 1fr);
}
.grid-col-4{
 grid-template-columns: repeat(4, 1fr);
}
.grid-col-3{
 grid-template-columns: repeat(3, 1fr);
}
.grid-col-2{
  grid-template-columns: repeat(2, 1fr); 
}



.card-item {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #f0f0f0;
 
  display: flex;
  flex-direction: column;
}

.client-logos-section .card-item {
  min-height: 0;
  height: auto;
  padding: 18px 14px;
  justify-content: center;
  align-items: center;
}

.client-logos-section .card-item .section-icon {
  margin-bottom: 0;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.client-logos-section .section-icon.w-100 img {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: #e0e0e0;
}

.card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
 }
 
.section-icon {
  width: 60px;
   
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
   margin-bottom: 14px;
  position: relative;
}

.card-item.leadership .section-icon {
  color: white;
}

.card-item.section .section-icon {
  color: white;
}

.card-item.experience .section-icon {
  color: white;
}

.card-item.solutions .section-icon {

  color: white;
}

.card-item.professionals .section-icon {
  color: #333;
}

.card-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-item p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
  font-size: 0.9rem;
  flex-grow: 1;
}

.section-highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Card hover effects */
.card-item:hover .section-icon {
  transform: scale(1.15) rotate(5deg);
  transition: all 0.3s ease;
}

.card-item:hover h3 {
  color: #667eea;
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* Smooth transitions for all elements */
.card-item h3 {
  transition: all 0.3s ease;
}

.section-icon {
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .sections-card-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
  }
  
  .card-item {
    padding: 25px 15px;
    min-height: 260px;
  }
}

@media (max-width: 1200px) {
  .sections-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .card-item {
    padding: 30px 20px;
   
  }
}

@media (max-width: 768px) {
  main.main > section {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  main.main > section.hero-section {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  main.main > section.news-ticker-section {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  main.main > section.ai-transformation-banner {
    padding: 40px 16px !important;
    margin: 0 !important;
  }

  main.main section.section-section > section.section-section {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
  }

  main.main .section-header {
    margin-bottom: 1.25rem;
  }
  
  section h2 {
    font-size: 2.2rem;
  }
  
  .sections-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .card-item {
    padding: 25px 15px;
    min-height: 240px;
  }

  .client-logos-section .card-item {
    min-height: 0;
    height: auto;
    padding: 12px 10px;
  }

  .client-logos-section .card-item .section-icon {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .client-logos-section .happy-customers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .client-logos-section .happy-customers img {
    margin: 0 auto;
    object-position: center;
  }

  .client-logos-section .happy-customers p {
    text-align: center;
    margin: 0 auto;
  }
  
  .section-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  section h2 {
    font-size: 1.8rem;
  }
  
  section .subtitle {
    font-size: 1.1rem;
  }
  
  .sections-card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .card-item {
    padding: 20px 15px;
    min-height: 200px;
  }

  .client-logos-section .card-item {
    min-height: 0;
    height: auto;
    padding: 10px 8px;
  }
}

.card .custom-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    border-radius: 50%;
    padding: .5rem;
    width: 50px;
    height: 50px;
    background: #032d60;
    display: flex
;
    align-items: center;
    justify-content: center;
}
.card-item .card-img-top {
    width: 100%;
    height: auto;
    border-radius: 20px; 
    object-fit: cover;
}