/* Custom Styles */
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  position: relative;
  overflow-x: hidden;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#preloader .jumper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#preloader .jumper div {
  background: #ff4e8d;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 5px;
  animation: bounce 0.6s infinite alternate;
}

#preloader .jumper div:nth-child(2) {
  animation-delay: 0.2s;
}

#preloader .jumper div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  to {
    transform: translateY(-20px);
  }
}

/* Decorative Images */
.banner-left-dec {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  max-width: 200px;
  opacity: 0.7;
}

.banner-right-dec {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  max-width: 200px;
  opacity: 0.7;
}

.testimonials-left-dec {
  position: absolute;
  left: 0;
  bottom: 20%;
  z-index: 0;
  max-width: 150px;
  opacity: 0.5;
}

.testimonials-right-dec {
  position: absolute;
  right: 0;
  top: 20%;
  z-index: 0;
  max-width: 150px;
  opacity: 0.5;
}

.footer-left-dec {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  max-width: 150px;
  opacity: 0.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
}

.project-card h4 {
  color: #ed80cc;
  font-weight: 700;
}

.service-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
  text-align: center;
  padding: 30px 0;
  background: linear-gradient(135deg, #ed80cc 0%, #ea8aa6 100%);
}

.service-card .icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-card .content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card h4 {
  color: #1f272b;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card p {
  color: #4a4a4a;
  margin-bottom: 20px;
  flex-grow: 1;
  font-weight: 500;
}

.service-card .read-more {
  color: #ff4e8d;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-card .read-more i {
  margin-left: 5px;
  transition: all 0.3s ease;
}

.service-card:hover .read-more {
  color: #d43f77;
}

.service-card:hover .read-more i {
  transform: translateX(5px);
}

.project-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.nav-link {
  position: relative;
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff4e8d;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-up.animated {
  transform: translateY(0);
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-left.animated {
  transform: translateX(0);
}

.fade-in-right {
  transform: translateX(30px);
}

.fade-in-right.animated {
  transform: translateX(0);
}

/* Pulse animation for CTA */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* Floating animation */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating-animation {
  animation: floating 3s ease-in-out infinite;
}

/* Section Headings */
.section-heading h4 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-weight: 700;
}

.section-heading h4:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #ff4e8d, #ff8fab);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-heading h4 em {
  color: #ff4e8d;
  font-style: normal;
}

/* Service Section Background */
#services {
  background: #f9f9f9;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(to right, #ff4e8d, #ff8fab);
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  color: white;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 78, 141, 0.4);
  color: white;
}

/* Main Banner Gradient */
.main-banner {
  background: linear-gradient(135deg, rgba(255, 78, 141, 0.1) 0%, rgba(255, 143, 171, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

/* Main Button Gradient */
.main-button-gradient {
  background: linear-gradient(to right, #ff4e8d, #ff8fab);
  border-radius: 30px;
  display: inline-block;
}

.main-button-gradient a {
  color: white;
  font-weight: 700;
  padding: 12px 25px;
  display: inline-block;
}

/* White Button */
.white-button {
  display: inline-block;
}

.white-button a {
  background: white;
  color: #ff4e8d;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 30px;
  display: inline-block;
  transition: all 0.3s ease;
}

.white-button a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

/* Testimonials */
.testimonials {
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.owl-testimonials .item h4 {
  font-weight: 700;
  color: #ff4e8d;
}

/* Simple CTA */
.simple-cta {
  background: linear-gradient(135deg, #ff4e8d 0%, #ff8fab 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.simple-cta h6 {
  font-weight: 700;
  margin-bottom: 20px;
}

/* Contact Section */
.contact-info h4 {
  color: #ff4e8d;
}

/* Form Styles */
#contact input,
#contact textarea {
  border: 1px solid #ff4e8d;
  border-radius: 5px;
  padding: 10px 15px;
  width: 100%;
  margin-bottom: 15px;
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(255, 78, 141, 0.5);
}

.main-gradient-button {
  background: linear-gradient(to right, #ff4e8d, #ff8fab);
  border: none;
  color: white;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main-gradient-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 78, 141, 0.4);
}

/* Social Icons */
.social-icons li a {
  color: #ff4e8d;
  font-size: 20px;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-icons li a:hover {
  color: #d43f77;
  transform: translateY(-3px);
}

/* Footer */
.text-center a {
  color: #ff4e8d;
  font-weight: 700;
}

/* Active Nav Link */
.nav a.active {
  color: #ff4e8d !important;
  font-weight: 700;
}

/* List Items */
.list-unstyled li {
  font-weight: 500;
  margin-bottom: 8px;
}

.list-unstyled li i {
  color: #ff4e8d;
}

/* Services Carousel */
.services-carousel {
  position: relative;
}

.services-carousel .owl-nav {
  position: absolute;
  top: -80px;
  right: 0;
}

.services-carousel .owl-nav button {
  background: #ff4e8d !important;
  color: white !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.services-carousel .owl-nav button:hover {
  background: #d43f77 !important;
}

/* Client Cards */
.client-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: block;
  position: relative;
  z-index: 1;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.client-card h4 {
  color: #ff4e8d;
  margin-bottom: 10px;
  font-size: 18px;
}

.client-card span {
  color: #666;
  display: block;
  margin-bottom: 0;
  font-size: 14px;
}

.client-card .quote-img {
  width: 40px;
  opacity: 0.7;
  margin-left: 15px;
}

/* Client Filter Buttons */
.client-filter {
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.client-filter button {
  background: none;
  border: 1px solid #ff4e8d;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ff4e8d;
  margin: 5px;
}

.client-filter button:hover,
.client-filter button.active {
  background: linear-gradient(to right, #ff4e8d, #ff8fab);
  color: white;
  border-color: transparent;
}

/* Clients Grid */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
  justify-content: center;
}

.clients-grid>div {
  padding: 15px;
  width: 100%;
  max-width: 400px;
  display: block;
}

/* Skills Section Styles */
#skills {
  padding: 80px 0;
  background: #f9f9f9;
}

.skill-item {
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.owl-carousel .center .skill-item {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.skill-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.2);
}

.skill-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Owl Carousel Center Item Styles */
.owl-carousel .center .skill-logo {
  transform: scale(1.2);
}

/* Products Section */
#products {
  padding: 80px 0;
}

/* Services Section - Fixed Grid */
#services .row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

#services .col-lg-3 {
  padding: 15px;
}

/* Make sure all service cards are same height */
.service-card {
  height: 100%;
}

/* Center align skill items */
.skills-carousel .owl-stage {
  display: flex;
  align-items: center;
}

/* Make center item more prominent */
.skills-carousel .center .skill-item {
  transform: scale(1.2);
}

/* Client filtering styles */
[data-category] {
  transition: all 0.3s ease;
}

.hidden {
  display: none !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 992px) {

  .banner-left-dec,
  .banner-right-dec,
  .testimonials-left-dec,
  .testimonials-right-dec,
  .footer-left-dec {
    display: none;
  }
}