.img-logo{
    height: 60px;
  }
  .nav-item1-ml{
    margin-left: 450px !important;
  }
  .nav-item1 a{
    font-size: 18px;
    font-weight: bold;
    color: black !important;
  }
  .preload {
    position: fixed;
    background: #fff url(../images/preload.gif) center center no-repeat;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 99999;
  }
  .section-features p{
    text-align: justify;
    font-size: 17px;
  }  
  .what-do{
    text-transform: capitalize;
  }
  .normal{
    text-transform: none;
  }
  .bg-gray-do{
    background-color: #D9D9D9;
    padding: 40px;
    height: 280px;
  }
  .bg-gray-do li{
    font-size: 17px ;
  }
  .bg-dark-do{
    background-color: #333333;
    color: white;
    padding: 40px;
    height: 280px;
  }
  .bg-dark-do li{
    font-size: 17px ;
  }
  .btn-warning1{
    font-size: 18px !important;
    color: black !important;
    background-color: #FDCE01;
  } 
  .section-why-us{
    /* background-color: #333333; */
    background-image: url('./images/Untitled-1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
  }
  .section-why-us h1{
    margin-top: 50px;
  }
  .why-us-grid{
    display: flex;
    justify-content: center;
    /* align-items: center; */
  }
  .why-us-grid p{
    font-size: 18px;
  }
  .why-us-grid img{
  /* width: 100%; */
    height: 180px;
   width: 220px ;
  }

  .our-client-grid{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .gray-client-block{
    background-color: #333333;
  }
  .our-client-grid div{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    width: 250px;
    /* width: 100%;
    height: 100%; */
  }

  

  .section-mail{
    background-color: #333333;
  }

  .footer img{
    height: 200px;
  }
  .footer{
    background-color: #686868;
    display: flex;
    align-items: center;
    height: 400px;
  }

  .crafted-by-section{
    background-color: #FDCE01;
    color: black;
  }
  .crafted-by-section a{
    color: black;
  }
  .nav-item1 {
    /* transition: border-bottom 0.8s ease-in-out; Add transition to the border-bottom property */
  }
  .nav-item1:hover {
    border-bottom: 3px solid #FDCE01;
  }
  .carousel-caption {
    top: 33%;
}
.carousel-item {
    position: relative;
}
.carousel-item img {
    z-index: 2;
}
.btn {
	padding: 14px 26px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.btn-danger {
	background-color: #e34c43;
	border-color: #e34c43;
}
.background-overlay {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}
.carousel-inner {
  height: 700px;
}
.slide-sub-title{
  text-align: left;
  font-size: 36px;
  font-weight: bold;
}
.carousel-control-next, .carousel-control-prev{
z-index: 4;	
}
@media(max-width:1180px) {
  .carousel-caption h5 {
    font-size: 2.5rem !important;
	margin-bottom:15px !important;
  }
  .carousel-caption p {
    font-size: 1.5rem !important;
	margin-bottom:20px !important;
  }
  .carousel-caption {
    top:25%;
    }
}
@media(max-width:980px) {
	.carousel-caption {
    top: 20%;
    }
  .carousel-caption h5 {
    font-size: 1.5rem !important;
  }
   .carousel-caption p {
    font-size: 1rem !important;
  }
  .carousel-caption .btn {
    display:none;
  }
}

  @media (max-width:1440px) {
    /* .why-us-grid img {
      width: 100%; 
    } */
    .nav-item1-ml{
      margin-left: 370px !important;
    }
  }
  @media (max-width: 1400px){
    .nav-item1-ml {
    margin-left: 320px !important;
}
  }


  @media (max-width:600px) {
    .nav-item1-ml{
      margin-left:23px !important;
    }
    .why-us-grid {
      display: block;
    }
    .our-client-grid {
      flex-direction: column;
    }
    .our-client-grid div {
      width: 320px;
    }
    .footer img {
      height: 125px;
  }
  .navbar-toggler{
    align-items: end;
    text-align: right;
  }
  h1{
    font-size: 25px !important;
  }
h3{
  font-size: 20px !important;
}
.carousel-inner {
  height: 250px;
}
h4{
  font-size: 13px !important;
}
.img-logo {
  height: 46px;
}
.btn-warning1 {
  font-size: 12px !important;
}
  }




  /* ===== ALTERNATIVE: RIPPLE STACK EFFECT ===== */
.ripple-clients-section {
  position: relative;
  padding: 60px 20px;
}

.ripple-clients-section h1 {
  font-size: 3rem;
  margin-bottom: 50px;
  position: relative;
  color: #333;
  text-align: center;
}

.ripple-clients-section h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #FDCE01;
  animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
  0%, 100% {
    width: 100px;
    opacity: 1;
  }
  50% {
    width: 200px;
    opacity: 0.5;
  }
}

/* Stacking cards effect */
.our-client-grid {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.our-client-grid > div {
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
  animation: cardStack 6s ease-in-out infinite;
  animation-delay: calc(var(--order, 0) * 0.2s);
}

@keyframes cardStack {
  0%, 100% {
    transform: 
      translateY(0) 
      rotate(calc(var(--order, 0) * 2deg))
      scale(1);
    z-index: calc(var(--order, 0));
  }
  25% {
    transform: 
      translateY(-20px) 
      rotate(calc(var(--order, 0) * 1deg))
      scale(1.02);
    z-index: calc(5 - var(--order, 0));
  }
  50% {
    transform: 
      translateY(10px) 
      rotate(calc(var(--order, 0) * -1deg))
      scale(0.98);
    z-index: var(--order, 0);
  }
  75% {
    transform: 
      translateY(-10px) 
      rotate(calc(var(--order, 0) * 0.5deg))
      scale(1.01);
    z-index: calc(5 - var(--order, 0));
  }
}

/* Define order for each card */
.our-client-grid > div:nth-child(1) { --order: 1; }
.our-client-grid > div:nth-child(2) { --order: 2; }
.our-client-grid > div:nth-child(3) { --order: 3; }
.our-client-grid > div:nth-child(4) { --order: 4; }
.our-client-grid > div:nth-child(5) { --order: 5; }

/* Hover ripple effect */
.white-client-block:hover,
.gray-client-block:hover {
  animation-play-state: paused;
  transform: 
    translateY(-30px) 
    rotate(0deg)
    scale(1.15) !important;
  z-index: 10 !important;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 0 60px rgba(253, 206, 1, 0.3);
}

/* Ripple waves */
.white-client-block::before,
.gray-client-block::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(253, 206, 1, 0.3);
  border-radius: 10px;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

.white-client-block:hover::before,
.gray-client-block:hover::before {
  animation: rippleWave 1s ease-out;
}

@keyframes rippleWave {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Color shift animation for alternating blocks */
.white-client-block {
  animation: whitePulse 4s ease-in-out infinite;
}

.gray-client-block {
  animation: grayPulse 4s ease-in-out infinite;
}

@keyframes whitePulse {
  0%, 100% {
    background-color: #ffffff;
  }
  50% {
    background-color: #f0f0f0;
  }
}

@keyframes grayPulse {
  0%, 100% {
    background-color: #333333;
  }
  50% {
    background-color: #2a2a2a;
  }
}

/* Synchronize row animations */
.our-client-grid:nth-child(2) > div {
  animation-delay: calc(1s + var(--order, 0) * 0.2s);
}

.our-client-grid:nth-child(3) > div {
  animation-delay: calc(2s + var(--order, 0) * 0.2s);
}

.our-client-grid:nth-child(4) > div {
  animation-delay: calc(3s + var(--order, 0) * 0.2s);
}



 .partners-timeline {
        padding: 100px 0;
        background: #ffffff;
    }
    
    .timeline-container {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .timeline-line {
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: repeating-linear-gradient(
            to bottom,
            #683e30 0px,
            #683e30 10px,
            transparent 10px,
            transparent 20px
        );
        transform: translateX(-50%);
    }
    
    .timeline-item {
        position: relative;
        margin-bottom: 80px;
        display: flex;
        align-items: center;
    }
    
    .timeline-icon {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 100px;
        background: #F5F5DC;
        border: 9px solid #c7aca3;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: all 0.3s ease;
    }
    
    .timeline-icon:hover {
        background: #683e30;
        transform: translateX(-50%) scale(1.1);
    }
    
    .timeline-icon:hover i {
        color: #F5F5DC;
    }
    
    .timeline-icon i {
        font-size: 32px;
        color: #683e30;
        transition: color 0.3s ease;
    }
    
    .timeline-content {
        width: 45%;
        padding: 30px;
        background: #FAFAFA;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }
    
    .timeline-content.left {
        margin-right: auto;
        margin-left: 0;
    }
    
    .timeline-content.right {
        margin-left: auto;
        margin-right: 0;
    }
    
    .timeline-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }
    
    .timeline-title {
        font-size: 24px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 20px;
    }
    
    .partners-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }
    
    .partner-logo {
        background: white;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        min-height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .partner-logo:hover {
        transform: scale(1.05);
        border-color: var(--secondary);
        box-shadow: 0 4px 15px rgba(255, 196, 0, 0.3);
    }
    
    .partner-logo img {
        max-width: 100%;
        max-height: 60px;
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.3s ease;
    }
    
    .partner-logo:hover img {
        filter: grayscale(0%);
    }
    
    .partner-logo .placeholder-text {
        color: #666;
        font-size: 12px;
        font-weight: 600;
    }
    
    .page-header {
        text-align: center;
        margin-bottom: 80px;
    }
    
    .page-header h1 {
        font-size: 48px;
        font-weight: 800;
        color: var(--primary);
        margin-bottom: 20px;
    }
    
    .page-header p {
        font-size: 18px;
        color: var(--text);
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Enhanced Responsive Design */
    
    /* Tablet Landscape (1024px and below) */
    @media (max-width: 1024px) {
        .timeline-container {
            max-width: 100%;
            padding: 0 20px;
        }
        
        .timeline-content {
            width: 42%;
            padding: 25px;
        }
        
        .timeline-icon {
            width: 70px;
            height: 70px;
        }
        
        .timeline-icon i {
            font-size: 28px;
        }
        
        .partners-grid {
            grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
            gap: 15px;
        }
        
        .page-header h1 {
            font-size: 42px;
        }
        
        .page-header p {
            font-size: 16px;
        }
    }
    
    /* Tablet Portrait (768px and below) */
    @media (max-width: 768px) {
        .partners-timeline {
            padding: 60px 0;
        }
        
        .timeline-line {
            left: 30px;
        }
        
        .timeline-icon {
            left: 30px;
            width: 60px;
            height: 60px;
        }
        
        .timeline-icon i {
            font-size: 24px;
        }
        
        .timeline-content {
            width: calc(100% - 90px);
            margin-left: 90px !important;
            padding: 20px;
        }
        
        .timeline-item {
            margin-bottom: 60px;
            align-items: flex-start;
        }
        
        .partners-grid {
            grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
            gap: 12px;
        }
        
        .partner-logo {
            min-height: 80px;
            padding: 10px;
        }
        
        .partner-logo img {
            max-height: 40px;
        }
        
        .page-header {
            margin-bottom: 60px;
        }
        
        .page-header h1 {
            font-size: 36px;
        }
        
        .page-header p {
            font-size: 15px;
            padding: 0 20px;
        }
        
        .timeline-title {
            font-size: 20px;
        }
        
        /* Mobile Navigation Enhancement */
        .header-container {
            flex-wrap: wrap;
        }
        
        .mobile-menu-btn {
            display: block;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            padding: 10px;
        }
        
        #mainNav {
            display: none;
            width: 100%;
            order: 3;
            margin-top: 20px;
        }
        
        #mainNav.active {
            display: block;
        }
        
        #mainNav ul {
            flex-direction: column;
            align-items: stretch;
        }
        
        #mainNav li {
            margin: 0;
            border-bottom: 1px solid #eee;
        }
        
        #mainNav a {
            display: block;
            padding: 15px 20px;
            text-align: left;
        }
        
        #mainNav .btn-primary {
            margin: 10px 20px;
            text-align: center;
        }
        
        /* Footer Responsive */
        .footer-container {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        .footer-logo {
            text-align: center;
        }
        
        .footer-links {
            text-align: center;
        }
        
        .footer-links ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }
        
        .footer-links li {
            flex: 0 0 auto;
        }
    }
    
    /* Mobile Large (576px and below) */
    @media (max-width: 576px) {
        .partners-timeline {
            padding: 40px 0;
        }
        
        .timeline-line {
            left: 20px;
        }
        
        .timeline-icon {
            left: 20px;
            width: 50px;
            height: 50px;
        }
        
        .timeline-icon i {
            font-size: 20px;
        }
        
        .timeline-content {
            width: calc(100% - 70px);
            margin-left: 70px !important;
            padding: 15px;
        }
        
        .timeline-item {
            margin-bottom: 50px;
        }
        
        .partners-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        
        .partner-logo {
            min-height: 70px;
            padding: 8px;
        }
        
        .partner-logo img {
            max-height: 35px;
        }
        
        .partner-logo .placeholder-text {
            font-size: 10px;
        }
        
        .page-header {
            margin-bottom: 40px;
        }
        
        .page-header h1 {
            font-size: 28px;
            margin-bottom: 15px;
        }
        
        .page-header p {
            font-size: 14px;
        }
        
        .timeline-title {
            font-size: 18px;
            margin-bottom: 15px;
        }
        
        .timeline-content p {
            font-size: 14px;
            margin-bottom: 15px;
        }
    }
    
    /* Mobile Small (400px and below) */
    @media (max-width: 400px) {
        .partners-grid {
            grid-template-columns: 1fr;
            gap: 8px;
        }
        
        .partner-logo {
            min-height: 60px;
            padding: 6px;
        }
        
        .partner-logo img {
            max-height: 30px;
        }
        
        .page-header h1 {
            font-size: 24px;
        }
        
        .timeline-title {
            font-size: 16px;
        }
        
        .timeline-content p {
            font-size: 13px;
        }
    }


.logo-item {
    padding: 4px; 
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px; /* Add proper spacing between boxes */
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.logo-item img {
    /* max-width: 100px;
    max-height: 100px; */
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Add proper spacing to Bootstrap columns */
/* .col-6, .col-md-4, .col-lg-4, .col-xl-3 {
    padding: 4px;
} */

/* Fix row spacing */
/* .row {
    margin-right: -8px;
    margin-left: -8px;
} */

.col-lg-4.col-md-4.text-center img {
    /* max-width: 0px; */
    height: auto;
    margin: 10px auto;
    display: block;
}

/* Marquee Container Styles */
.marquee-container-left,
.marquee-container-right {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-content-left,
.marquee-content-right {
  display: flex;
  flex-wrap: nowrap;
  animation: marqueeLeft 5s linear infinite;
}

.marquee-content-right {
  animation: marqueeRight 5s linear infinite;
}

/* Left marquee animation */
@keyframes marqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Right marquee animation */
@keyframes marqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Ensure proper spacing in marquee */
.marquee-content-left .col-3,
.marquee-content-right .col-3 {
  flex: 0 0 auto;
  min-width: calc(25% - 15px);
  /* margin: 0 2.5px; */
}

/* Pause on hover */
.marquee-container-left:hover .marquee-content-left,
.marquee-container-right:hover .marquee-content-right {
  animation-play-state: 5s;
}