body {
  background-image: url(/ak_assets/images/bg-image-port.png);
}

.ak-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
  border-radius: 20px;

  margin-top: 40px;
  margin-bottom: 40px;
}

.hero-content {
  text-align: center;
  margin-bottom: 31px;
}

.counter-wrap {
  border-radius: 30px;
  padding: 15px;
}

.counter-area {
  position: relative;
  z-index: 1;
}

.counter-box {
  display: flex;
  gap: 8px;
  position: relative;
  padding: 11px 8px 11px 10px;
  border-radius: 25px;
  border: 3px solid #ffffff3d;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  z-index: 1;
}

.counter-box .icon {
  width: 80px;
  height: 80px;
  line-height: 70px;
  font-size: 35px;
  border-radius: 50px;
  text-align: center;
  color: #ffffff;
  background: #ffffff;
}

.counter-box .icon img {
  width: 55px;
}

.counter-box .title {
  color: white;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
}

.counter-box .counter {
  display: block;
  line-height: 1;
  color: #ffb300;
  font-size: 50px;
  font-weight: 900;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #666;
  /* line-height: 1.8; */
  text-align: start;
}

.section-title3 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 50px 0px;
  color: #2c3e50;
  position: relative;
}

.section-title3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #175cff;
  border-radius: 2px;
}

.section-title2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: start;
  margin-bottom: 20px;
  color: #2c3e50;
  position: relative;
}

.section-title2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 7%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #175cff;
  border-radius: 2px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.project-card {
  background: rgb(255, 255, 255);
  border-top: 3px solid blue;
  border-radius: 15px;
  cursor: pointer;
  padding: 30px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  background-clip: padding-box;
}

.client-logo-box {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-box img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.client-logo-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(75, 9, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.client-logo-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(25, 0, 255, 0.1);
}

.client-logo-box:hover::after {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px);
  border: 1px solid #053ae7;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
}

.box-logo {
  cursor: pointer;
}

.project-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #181b31;
}

.project-card p {
  color: #646464;
  line-height: 1.6;
  text-align: justify;
}

.left-port {
  background-image: url(/ak_assets/images/banner/footer-bg.png);
  background-position: center;
  color: white;
  position: relative;
  padding: 25px;
}

.right-port {
  border: 1px solid #b0b0b0;
}

.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.vm-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.vm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.vm-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.vm-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

.stats-section {
  background-image: url(https://keenitsolutions.com/products/html/educavo/assets/images/bg/about-intro-bg.jpg);
  color: rgb(255, 255, 255);
  padding: 60px 40px;
  border-radius: 20px;
  margin-bottom: 0px;
}

.process-title-shape-thumb {
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  opacity: 0.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: #ffb300;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-section {
  text-align: center;
  padding: 50px 40px;
  border-radius: 20px;
}

.svg-port {
  width: 12rem;
  position: absolute;
  top: 448px;
  right: 23rem;
  animation: moveUpDown 1.5s ease-in-out infinite;
}

@keyframes moveUpDown {
  0%,
  100% {
    transform: translateY(0);
  }

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

.cta-section h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c3e50;
}

.cta-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #175cff;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px #175cff;
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links span {
  color: #666;
  font-weight: 500;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #667eea;
  color: #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-btn:hover {
  background: #667eea;
  color: white;
  transform: scale(1.1);
}

.common-title h4 {
  color: #ffb300;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffb300;
  text-transform: uppercase;
  font-size: clamp(14.5px, 1.042vw, 40px);
  font-weight: 500;
  line-height: 120%;
}

.eyebrow:before {
  content: "";
  width: clamp(24px, 1.66vw, 48px);
  height: 1px;
  background: #ffb300;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title3 {
    font-size: 1.7rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section-title3 {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
  }

  .vision-mission {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 2fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .ak-section {
    margin: 0px;
    padding: 19px 8px;
  }

  .ac-content {
    left: -3rem;
    top: 24rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 2fr;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    padding: 0px 10px;
  }

  .eyebrow {
    justify-content: start;
  }

  .about-company-right-content .tab-content .container {
    padding-left: 0;
    margin-top: 20px;
  }

  .ac-image-two {
    position: relative;
    left: 0rem;
    padding: 0px 10px;
    top: 4rem;
  }

  .svg-port {
    display: none;
  }

  .stat-item h3 {
    font-size: 2rem;
  }
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.services-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.services-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.projects-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 1rem 0;
}

.service-card-custom {
  background: white;
  border-radius: 25px;
  padding: 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  border: none;
  height: 100%;
  cursor: pointer;
  min-height: 350px;
}

.service-card-custom:hover {
  transform: translateY(-15px) rotate(-2deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.service-card-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image: url(https://keenitsolutions.com/products/html/educavo/assets/images/bg/about-intro-bg.jpg);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  transition: all 0.3s ease;
}

.service-card-custom:nth-child(2)::before {
  background: #16b3c6;
}

.service-card-custom:nth-child(3)::before {
  background: #2a6dccd4;
}

.service-card-custom:nth-child(4)::before {
  background: #396c6d;
}

.service-card-custom:hover::before {
  height: 140px;
}

.icon-container-custom {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem 1rem;
}

.icon-box-custom {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card-custom:hover .icon-box-custom {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.icon-box-custom::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.service-card-custom:hover .icon-box-custom::before {
  opacity: 1;
  animation: shimmer 0.6s ease-in-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.service-icon-custom {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.service-card-custom:hover .service-icon-custom {
  transform: scale(1.2);
}

.content-area-custom {
  padding: 0 0.8rem 0.9rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.service-title-custom {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.service-card-custom:hover .service-title-custom {
  color: #2c3e50;
  transform: scale(1.05);
}

.service-description-custom {
  color: #7f8c8d;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-link-custom {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #0d6efd;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(93, 92, 222, 0.4);
}

.service-link-custom:hover {
  background: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #0d6efd;
  color: white;
}

.service-link-custom::after {
  content: "→";
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.service-link-custom:hover::after {
  transform: translateX(3px);
}

/* Floating animation */
/* .service-card-custom {
  animation: float 6s ease-in-out infinite;
} */

.service-card-custom:nth-child(2) {
  animation-delay: -2s;
}

.service-card-custom:nth-child(3) {
  animation-delay: -4s;
}

.service-card-custom:nth-child(4) {
  animation-delay: -1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.service-card-custom:hover {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .projects-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .projects-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
  }

  .services-header h2 {
    font-size: 2rem;
  }

  .service-card-custom {
    min-height: 320px;
  }

  .icon-container-custom {
    padding: 1.5rem 1rem 0.5rem;
  }

  .content-area-custom {
    padding: 0 1.5rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .service-card-custom:hover {
    transform: translateY(-10px) rotate(0deg);
  }

  .services-header h2 {
    font-size: 1.75rem;
  }

  .icon-box-custom {
    width: 80px;
    height: 80px;
  }

  .service-icon-custom {
    width: 45px;
    height: 45px;
  }
}
