/* Custom styles for smaller headings */
.smaller-heading {
  font-size: 21px !important;
  line-height: 29px !important;
  font-weight: 540 !important;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  letter-spacing: -0.02em;
  max-width: 100%;
  display: inline-block;
  text-transform: none !important;
}

/* Image styling for smaller-heading */
.smaller-heading img.others-img1 {
  border-radius: 110px;
  border: 2px solid var(--Main-Color, #0000FB);
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  width: 150px;
  margin-top: -16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
}

@media only screen and (min-width: 1359px) and (max-width: 712px) {
  .smaller-heading {
    font-size: 20px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
  }
}
@media (max-width: 767px) {
  .smaller-heading {
    font-size: 18px !important;
    line-height: 22px !important;
    font-weight: 500 !important;
  }
} 

/* Hero section heading custom size */
.hero1-section-area .hero-header-area h1.text-anime-style-3 {
  font-size: 40px !important;
  line-height: 40px !important;
  text-align: left;
  text-align-last: justify;
  text-justify: inter-word;
  font-weight: 700;
  
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero1-section-area .hero-header-area h1.text-anime-style-3 {
    font-size: 48px !important;
    line-height: 50px !important;
  }
}
@media (max-width: 767px) {
  .hero1-section-area .hero-header-area h1.text-anime-style-3 {
    font-size: 32px !important;
    line-height: 34px !important;
  
  }
}

/* Style for each line to appear more balanced and justified */
.hero1-section-area .hero-header-area h1.text-anime-style-3 .line {
  display: block;
  white-space: nowrap;
  margin-bottom: 5px;
  letter-spacing: -0.03em;
  text-align: justify;
  text-align-last: justify;
  
}

.hero1-section-area .hero-header-area h1.text-anime-style-3 .line-1 {
  width: 100%;
  letter-spacing: -0.03em;
  text-align: left;
  text-align-last: left;
}

.hero1-section-area .hero-header-area h1.text-anime-style-3 .line-2 {
  width: 90%;
  letter-spacing: -0.02em;
  text-align: left;
  text-align-last: left;
}

.hero1-section-area .hero-header-area h1.text-anime-style-3 .line-3 {
  width: 100%;
  letter-spacing: -0.01em;
  text-align: left;
  text-align-last: left;
}

/* Blue color theme overrides */
:root {
  --ztc-text-text-6: #0000fb !important;
  --ztc-text-text-9: #0000fb !important;
  --ztc-bg-bg-4: #0000fb !important;
  --ztc-bg-bg-8: #0000fb !important;
}

/* Button overrides */

.vl-btn1, .vl-btn2 {
  background-color: #0000fb !important;
  border-color: #0000fb !important;
}

.vl-btn2:hover {
  color: #050506 !important;
}

/* SVG paths with yellow color */
svg path[stroke="#FEFE1F"], 
svg path[stroke="#fefe1f"] {
  stroke: #0000fb !important;
}

/* Icon colors */
.fa-solid.fa-star {
  color: #0000fb !important;
}

/* Additional element-specific overrides */
.heading2 h5 img {
  filter: hue-rotate(60deg) saturate(10);
}

.heading-area a {
  color: #0000fb !important;
}

.vl-blog-1-icon a, 
.vl-blog-1-icon a i {
  color: #0000fb !important;
}

.space-margin60 .btn-area1 a {
  background-color: #0000fb !important;
  border-color: #0000fb !important;
}

.arrow a svg path {
  stroke: #0000fb !important;
}

/* Header elements */
.vl-header-area .vl-btn1 {
  background-color: #0000fb !important;
  border-color: #0000fb !important;
}

/* Footer colors */
.vl-footer2-section-area a:hover {
  color: #0000fb !important;
}

/* CTA section */
.cta2-section-area .vl-btn2 {
  background-color: #0000fb !important;
  border-color: #0000fb !important;
}

/* Marquee text */
.marquee-text h1 {
  color: #0000fb !important;
  -webkit-text-stroke-color: #0000fb !important;
}

/* Modified arrow styling and improved hidden image display */
.service1-section-area .service-branding-boxesarea {
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px 20px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.service1-section-area .service-branding-boxesarea:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.service1-section-area .service-branding-boxesarea .service-brand-head {
  position: relative;
  z-index: 5;
  flex: 1;
  max-width: 80%; /* Adjusted back up a bit */
}

.service1-section-area .service-branding-boxesarea .arrow {
  position: relative;
  z-index: 5; /* Match text z-index */
  margin-right: 20px;
  transform: scale(0.75); /* Made arrow smaller */
}

.service1-section-area .service-branding-boxesarea .arrow a {
  height: 55px !important;
  width: 55px !important;
  line-height: 55px !important;
  font-size: 16px !important;
}

.service1-section-area .service-branding-boxesarea .hidden-img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) scale(0.6); /* Smaller initial scale */
  left: auto;
  z-index: 2; /* Above the gradient background, below text/arrow */
  opacity: 0.4; /* Reduced opacity */
  visibility: visible;
  transition: all 0.4s ease-in-out;
}

.service1-section-area .service-branding-boxesarea:hover .hidden-img {
  transform: translateY(-50%) scale(0.8); /* Smaller hover scale */
  opacity: 0.7;
  right: 25px;
}

.service1-section-area .service-branding-boxesarea .hidden-img img {
  max-width: 220px; /* Reduced max-width */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 51, 0.15);
}

/* Adjust image size for different screen sizes */
@media (max-width: 1200px) {
  .service1-section-area .service-branding-boxesarea .hidden-img img {
    max-width: 225px;
  }
}

@media (max-width: 991px) {
  .service1-section-area .service-branding-boxesarea .hidden-img {
    right: -10px;
    transform: translateY(-50%) scale(0.5);
  }
  
  .service1-section-area .service-branding-boxesarea:hover .hidden-img {
    transform: translateY(-50%) scale(0.7);
    right: 5px;
  }
  
  .service1-section-area .service-branding-boxesarea .hidden-img img {
    max-width: 160px;
  }
}

@media (max-width: 767px) {
  .service1-section-area .service-branding-boxesarea {
    display: block;
  }
  
  .service1-section-area .service-branding-boxesarea .service-brand-head {
    max-width: 100%;
  }
  
  .service1-section-area .service-branding-boxesarea .arrow {
    margin-top: 20px;
    margin-right: 0;
  }
  
  .service1-section-area .service-branding-boxesarea .hidden-img {
    display: none;
  }
}

.service1-section-area .service-branding-boxesarea:hover::before {
  background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.15) 100%);
}

/* Fix z-index order to ensure proper layering */
a.service1-section-area .service-branding-boxesarea::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 0;  /* Lowered z-index */
  border-radius: 8px;
}


/* Border Animation for Explore Solutions Button */
.vl-hero-btn .vl-btn-wrap a.vl-btn1 {
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* Create circular border animation with pseudo-elements */
/*  */

/* Smaller subtitle in hero section */
.hero1-section-area .hero-header-area h5 {
  font-size: 16px !important;
  line-height: 18px !important;
  letter-spacing: 0.5px !important;
}

.hero1-section-area .hero-header-area h5 img {
  width: 18px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero1-section-area .hero-header-area h5 {
    font-size: 14px !important;
    line-height: 16px !important;
  }
}

@media (max-width: 767px) {
  .hero1-section-area .hero-header-area h5 {
    font-size: 12px !important;
    line-height: 14px !important;
  }
} 

/* Trusted Partners Section */
.trusted-partners-section {
  display: flex;
  align-items: flex-start;
  margin-top: 15px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  flex-direction: column;
}

.trusted-partners-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--ztc-text-text-1);
  margin-right: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 15px;
}

/* Mini Partner Slider */
.mini-partner-slider {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
}

.mini-partner-slider .brand-img1 {
  text-align: center;
  padding: 0 15px;
  background-color: white;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  margin: 0 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mini-partner-slider .brand-img1 img {
  max-height: 35px;
  max-width: 100px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.3s ease;
  display: inline-block;
}

.mini-partner-slider .brand-img1:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.explore-more-btn {
  display: inline-block;
  background-color: transparent;
  color: var(--ztc-bg-bg-4);
  border: 1px solid var(--ztc-bg-bg-4);
  border-radius: 6px;
  padding: 6px 15px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.explore-more-btn:hover {
  background-color: var(--ztc-bg-bg-4);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .trusted-partners-section {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .trusted-partners-text {
    margin-right: 0;
    margin-bottom: 10px;
    font-size: 16px;
  }
  
  .mini-partner-slider {
    max-width: 100%;
  }
  
  .mini-partner-slider .brand-img1 {
    height: 50px;
    padding: 0 10px;
  }
  
  .mini-partner-slider .brand-img1 img {
    max-height: 28px;
    max-width: 80px;
  }
} 

.trusted-partners-section .btn-area1 {
  margin-top: 5px;
} 

/* Smaller button style */
.trusted-partners-section .vl-btn1 {
  padding: 12px 18px;
  font-size: 14px;
  min-width: auto;
  letter-spacing: -0.2px;
}

@media (max-width: 767px) {
  .trusted-partners-section .vl-btn1 {
    padding: 10px 16px;
    font-size: 13px;
  }
} 

/* Industry Grid Styling */
.industry-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 50px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.industry-grid-item {
  background: rgba(255, 255, 255, 0.1);
  font-weight: bold;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: 100%;
  opacity: 0; /* Start with opacity 0 for animation */
  transform: translateY(20px); /* Start position for animation */
}

.industry-grid-item i {
  font-size: 24px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.industry-grid-item span {
  font-size: 16px;
  font-weight: 500;
  z-index: 1;
}

.industry-grid-item:hover {
  background: rgba(0, 0, 255, 0.2);
  transform: translateY(-5px);
}

.industry-grid-item:hover i {
  transform: scale(1.2);
}

.industry-grid-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  z-index: 0;
}

/* Custom sizes for symmetrical layout */
/* First row */
.industry-grid-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.1s;
}
.industry-grid-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.2s;
}
.industry-grid-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.3s;
}

/* Second row */
.industry-grid-item:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.4s;
}
.industry-grid-item:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
  background: linear-gradient(135deg, rgba(111, 66, 193, 0.2), rgba(111, 66, 193, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.5s;
}

/* Third row */
.industry-grid-item:nth-child(6) {
  grid-column: 1;
  grid-row: 3;
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.2), rgba(23, 162, 184, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.6s;
}
.industry-grid-item:nth-child(7) {
  grid-column: 2;
  grid-row: 3;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.7s;
}
.industry-grid-item:nth-child(8) {
  grid-column: 3;
  grid-row: 3;
  background: linear-gradient(135deg, rgba(32, 201, 151, 0.2), rgba(32, 201, 151, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.8s;
}

/* Fourth row */
.industry-grid-item:nth-child(9) {
  grid-column: 1;
  grid-row: 4;
  background: linear-gradient(135deg, rgba(253, 126, 20, 0.2), rgba(253, 126, 20, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.9s;
}
.industry-grid-item:nth-child(10) {
  grid-column: 2;
  grid-row: 4;
  background: linear-gradient(135deg, rgba(108, 117, 125, 0.2), rgba(108, 117, 125, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 1s;
}
.industry-grid-item:nth-child(11) {
  grid-column: 3;
  grid-row: 4;
  background: linear-gradient(135deg, rgba(102, 16, 242, 0.2), rgba(102, 16, 242, 0.1));
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  animation-delay: 1.1s;
}

/* Updated hover effect for industry grid items */
.industry-grid-item i {
  font-size: 24px;
  margin-bottom: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.industry-grid-item span {
  font-size: 16px;
  font-weight: 500;
  z-index: 1;
  transition: all 0.4s ease;
}

.industry-grid-item:hover {
  background: rgba(0, 0, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.industry-grid-item:hover i {
  transform: translateX(8px);
  color: #fff;
}

.industry-grid-item:hover span {
  transform: translateX(5px);
}

/* FadeIn animation for grid items */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Observer animation for grid items */
.industry-grid-item.animate {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .industry-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* First row */
  .industry-grid-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .industry-grid-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .industry-grid-item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }
  
  /* Second row */
  .industry-grid-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
  .industry-grid-item:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
  }
  
  /* Third row */
  .industry-grid-item:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
  }
  .industry-grid-item:nth-child(7) {
    grid-column: 1;
    grid-row: 4;
  }
  .industry-grid-item:nth-child(8) {
    grid-column: 2;
    grid-row: 4;
  }
  
  /* Fourth row */
  .industry-grid-item:nth-child(9) {
    grid-column: 1;
    grid-row: 5;
  }
  .industry-grid-item:nth-child(10) {
    grid-column: 2;
    grid-row: 5;
  }
  .industry-grid-item:nth-child(11) {
    grid-column: 1 / span 2;
    grid-row: 6;
  }
}

@media (max-width: 576px) {
  .industry-grid-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 80px;
    gap: 15px;
  }
  
  .industry-grid-item {
    padding: 15px;
  }
  
  .industry-grid-item i {
    font-size: 20px;
    margin-bottom: 5px;
  }
  
  .industry-grid-item span {
    font-size: 14px;
  }
  
  /* Stack all items in single column */
  .industry-grid-item:nth-child(n) {
    grid-column: 1;
  }
  
  .industry-grid-item:nth-child(1) { grid-row: 1; }
  .industry-grid-item:nth-child(2) { grid-row: 2; }
  .industry-grid-item:nth-child(3) { grid-row: 3; }
  .industry-grid-item:nth-child(4) { grid-row: 4; }
  .industry-grid-item:nth-child(5) { grid-row: 5; }
  .industry-grid-item:nth-child(6) { grid-row: 6; }
  .industry-grid-item:nth-child(7) { grid-row: 7; }
  .industry-grid-item:nth-child(8) { grid-row: 8; }
  .industry-grid-item:nth-child(9) { grid-row: 9; }
  .industry-grid-item:nth-child(10) { grid-row: 10; }
  .industry-grid-item:nth-child(11) { grid-row: 11; }
} 

/* About Section Styling */
.about-section-area {
  padding: 115px 0 40px;
  position: relative;
}

.about-section-area .about-header h5 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 0;
}

.about-section-area .btn-area1 {
  margin-top: 0;
}

.about-section-area .img1 {
  position: relative;
  margin-bottom: 40px;
  border-radius: 15px;
  overflow: hidden;
}

.about-section-area .img1 img {
  width: 100%;
  border-radius: 15px;
}

/* Repositioned play button to bottom right */
.about-section-area .play-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 2;
}

.about-section-area .play-btn a {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-section-area .play-btn a span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 255, 0.8);
  border-radius: 50%;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.about-section-area .play-btn a:hover span {
  background: #0000fb;
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .about-section-area .row.align-items-center {
    text-align: center;
  }
  
  .about-section-area .col-lg-4.text-end {
    text-align: center !important;
    margin-top: 20px;
  }
  
  .about-section-area .play-btn {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .about-section-area {
    padding: 60px 0 30px;
  }
  
  .about-section-area .about-header h5 {
    font-size: 16px;
  }
  
  .about-section-area .play-btn a span {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }
  
  .about-section-area .play-btn {
    bottom: 15px;
    right: 15px;
  }
} 

/* About page hero section styles */
.about-hero-image {
  position: relative;
  padding: 30px 0;
  z-index: 1;
}

.about-hero-image img {
  box-shadow: 0 20px 40px rgba(0, 0, 40, 0.2);
  transition: all 0.5s ease;
  transform: translateY(0);
}

.about-hero-image:hover img {
  transform: translateY(-10px);
}

.about-hero-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50px;
  left: 30px;
  z-index: -1;
}

.about-hero-content {
  padding-left: 40px;
}

.about-hero-content h5 {
  color: var(--ztc-text-text-6);
  font-family: var(--ztc-family-font1);
  font-size: 18px;
  font-weight: var(--ztc-weight-bold);
  letter-spacing: 1.5px;
}

.about-hero-content h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ztc-text-text-1);
}

.about-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ztc-text-text-1);
  opacity: 0.9;
}

.breadcrumb-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb-links a {
  color: var(--ztc-text-text-1);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.breadcrumb-links a:hover {
  color: var(--ztc-text-text-6);
}

.breadcrumb-links i {
  font-size: 12px;
  color: var(--ztc-text-text-1);
  opacity: 0.5;
}

@media (max-width: 991px) {
  .about-hero-content {
    padding-left: 0;
    margin-top: 40px;
    text-align: center;
  }
  
  .about-hero-pattern {
    display: none;
  }
  
  .breadcrumb-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .about-hero-content h1 {
    font-size: 32px;
  }
  
  .about-hero-content p {
    font-size: 16px;
  }
}

.animated-grid-section {
  padding: 80px 0;
  background-color: #0c0c1d;
  color: white;
  overflow: hidden;
}

/* Animated Grid Section */
.animated-grid-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
  overflow: hidden;
}

.animated-grid-content {
  padding-right: 30px;
}

.animated-grid-content h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.animated-grid-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.animated-grid-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 600px; /* Added max-width to ensure the wider grid has enough space */
  margin: 0 auto;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 270px);
  gap: 15px;
  position: relative;
}

/* Carousel styles */
.carousel-column {
  position: relative;
  height: 650px; /* Visible area height */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Left column animation */
.left-carousel {
  overflow: hidden;
}

/* Position the left column boxes at fixed locations */
.left-carousel .box:nth-child(1) {
  top: 0px;
  animation: moveDownSimple 28s linear infinite;
}

.left-carousel .box:nth-child(2) {
  top: -200px;
  animation: moveDownSimple 28s linear infinite;
}

.left-carousel .box:nth-child(3) {
  top: -400px;
  animation: moveDownSimple 28s linear infinite;
}

.left-carousel .box:nth-child(4) {
  top: -600px;
  animation: moveDownSimple 28s linear infinite;
}

.left-carousel .box:nth-child(5) {
  top: -800px;
  animation: moveDownSimple 28s linear infinite;
}

.left-carousel .box:nth-child(6) {
  top: -1000px;
  animation: moveDownSimple 28s linear infinite;
}

.left-carousel .box:nth-child(7) {
  top: -1200px;
  animation: moveDownSimple 28s linear infinite;
}

/* Simple down movement with translateY instead of changing top position */
@keyframes moveDownSimple {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(1400px);
  }
}

/* Right column - fixed position approach */
.right-carousel {
  overflow: hidden;
}

/* Position the right column boxes at fixed locations */
.right-carousel .box:nth-child(1) {
  top: 0px;
  animation: moveUpSimple 28s linear infinite;
}

.right-carousel .box:nth-child(2) {
  top: 200px;
  animation: moveUpSimple 28s linear infinite;
}

.right-carousel .box:nth-child(3) {
  top: 400px;
  animation: moveUpSimple 28s linear infinite;
}

.right-carousel .box:nth-child(4) {
  top: 600px;
  animation: moveUpSimple 28s linear infinite;
}

.right-carousel .box:nth-child(5) {
  top: 800px;
  animation: moveUpSimple 28s linear infinite;
}

.right-carousel .box:nth-child(6) {
  top: 1000px;
  animation: moveUpSimple 28s linear infinite;
}

.right-carousel .box:nth-child(7) {
  top: 1200px;
  animation: moveUpSimple 28s linear infinite;
}

/* Simple up movement with translateY instead of changing top position */
@keyframes moveUpSimple {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-1400px);
  }
}

/* Box styles */
.box {
  width: 270px;
  height: 160px; /* Reduced from 180px to create more space between boxes */
  background: linear-gradient(135deg, #0000FB, #3030FF);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 251, 0.2);
  position: absolute;
  left: 0;
  color: white;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 0;
  overflow: hidden; /* Ensure images don't overflow */
  transition: transform 0.3s ease;
  margin: 15px 0; /* Increased from 10px to provide more vertical spacing */
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  border-radius: 16px;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 251, 0.3);
}

.box:hover img {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Responsive styles for animated grid section */
@media (max-width: 991px) {
  .grid-container {
    grid-template-columns: repeat(2, 240px);
    gap: 15px;
  }
  
  .box {
    width: 240px;
    height: 160px;
  }
  
  .carousel-column {
    height: 600px; /* Adjusted for medium screens */
  }
}

@media (max-width: 767px) {
  .grid-container {
    grid-template-columns: repeat(2, 200px);
    gap: 12px;
  }
  
  .box {
    width: 200px;
    height: 130px;
  }
  
  .carousel-column {
    height: 500px; /* Adjusted for smaller screens */
  }
}

@media (max-width: 575px) {
  .grid-container {
    grid-template-columns: repeat(2, 160px);
    gap: 8px;
  }
  
  .box {
    width: 160px;
    height: 110px;
  }
  
  .carousel-column {
    height: 400px; /* Adjusted for mobile screens */
  }
}

/* Smaller subtitle style */
.smaller-subtitle {
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
}

/* About section heading styles */
.about-header h2.text-anime-style-3 {
  font-size: 36px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  margin-bottom: 15px !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 991px) {
  .about-header h2.text-anime-style-3 {
    font-size: 30px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 767px) {
  .about-header h2.text-anime-style-3 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
} 

/* Simple About Image Box Styles */
.about-img-box {
  position: relative;
  padding: 15px 0;
  text-align: center;
}

.about-img-box img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.about-img-box:hover img {
  transform: translateY(-8px);
}

.about-hero-content {
  padding-left: 40px;
}

.about-hero-content h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ztc-text-text-1);
}

.about-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ztc-text-text-1);
  opacity: 0.9;
}

.breadcrumb-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb-links a {
  color: var(--ztc-text-text-1);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.breadcrumb-links a:hover {
  color: var(--ztc-text-text-6);
}

.breadcrumb-links i {
  font-size: 12px;
  color: var(--ztc-text-text-1);
  opacity: 0.5;
}

@media (max-width: 991px) {
  .about-hero-content {
    padding-left: 0;
    margin-top: 40px;
    text-align: center;
  }
  
  .breadcrumb-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .about-hero-content h1 {
    font-size: 32px;
  }
  
  .about-hero-content p {
    font-size: 16px;
  }
}

.animated-grid-section {
  padding: 80px 0;
  background-color: #0c0c1d;
  color: white;
  overflow: hidden;
}

/* Mission Statement List Styling */
.mission-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ztc-text-text-1);
  margin-bottom: 16px;
}

.mission-list {
  list-style: none;
  padding-left: 10px;
  margin: 20px 0;
}

.mission-list li {
  position: relative;
  padding: 8px 0 8px 35px;
  font-size: 17px;
  color: var(--ztc-text-text-1);
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.mission-list li i {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #0000fb;
  font-size: 18px;
  background-color: rgba(0, 0, 251, 0.1);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mission-list li:hover {
  transform: translateX(5px);
}

.mission-list li:hover i {
  background-color: #0000fb;
  color: white;
}

.mission-tagline {
  font-size: 20px;
  color: #0000fb;
  margin-top: 20px;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .mission-text {
    font-size: 16px;
  }
  
  .mission-list li {
    font-size: 15px;
    padding: 6px 0 6px 30px;
  }
  
  .mission-list li i {
    font-size: 14px;
    width: 22px;
    height: 22px;
  }
  
  .mission-tagline {
    font-size: 16px;
  }
} 

/* Key Values Section Styling */
.key-values-section {
  padding: 80px 0;
  background-color: #11111156;
  position: relative;
  color: #fff;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 15px;
  color: #fff;
}

.section-heading p {
  font-size: 18px;
  color: #cccccc;
  max-width: 700px;
  margin: 0 auto;
}

.key-value-item {
  padding: 30px 15px;
  text-align: center;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.key-value-item:hover {
  transform: translateY(-5px);
}

.dot-pattern {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 30px;
}

.dots-top {
  margin-bottom: 20px;
  order: 1;
}

.dots-bottom {
  margin-top: 20px;
  order: 3;
}

.key-value-content {
  order: 2;
  flex: 1;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #0000fb;
  display: inline-block;
  position: relative;
}

.dot-up {
  transform: translateY(-5px);
}

.dot-down {
  transform: translateY(5px);
}

.key-value-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0000fb;
}

.key-value-content p {
  font-size: 15px;
  line-height: 1.5;
  color: #cccccc;
}

/* Responsive styles for key values section */
@media (max-width: 991px) {
  .key-value-item {
    margin-bottom: 30px;
  }
  
  .key-value-content h4 {
    font-size: 18px;
  }
  
  .key-value-content p {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .section-heading p {
    font-size: 16px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .key-value-item {
    padding: 20px 10px;
  }
} 

/* Service Explorer Section Styling */
.service-explorer-section {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

.service-explorer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: -1;
}

.service-explorer-section .container {
  position: relative;
  z-index: 2;
}

.service-explorer-section .section-heading h2 {
  color: #ffffff;
  font-size: 48px;
  margin-top: 40px; /* Added more top margin */
  position: relative;
  display: inline-block;
}

.service-category-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 45px 30px;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-category-box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #0000fb, #6b6bff, #0000fb);
  background-size: 200% auto;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-category-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(107, 107, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.service-category-box:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.service-category-box:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  animation: gradientShift 3s linear infinite;
}

.service-category-box:hover::after {
  opacity: 1;
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.service-category-box .icon-area {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.service-category-box .icon-area::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 30px rgba(0, 0, 255, 0.1);
}

.service-category-box:hover .icon-area::after {
  width: 90px;
  height: 90px;
  background: rgba(0, 0, 255, 0.15);
  box-shadow: 0 0 40px rgba(0, 0, 255, 0.2);
}

.service-category-box .icon-area img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 255, 0.3));
  z-index: 2;
  position: relative;
}

.service-category-box:hover .icon-area img {
  transform: scale(1.15) translateY(-8px) rotate(5deg);
}

.service-category-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  display: inline-block;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 150, 0.2);
  transition: transform 0.3s ease;
}

.service-category-box h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #6b6bff, #0000fb);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 2px;
}

.service-category-box:hover h3 {
  transform: translateY(-3px);
}

.service-category-box:hover h3::after {
  width: 100%;
}

.service-category-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.7;
  z-index: 1;
  position: relative;
  transition: transform 0.3s ease;
}

.service-category-box:hover p {
  transform: translateY(-3px);
}

.service-category-box .explore-link {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  padding: 10px 24px;
  border-radius: 30px;
  background: rgba(0, 0, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 255, 0.1);
  z-index: 1;
  overflow: hidden;
}

.service-category-box .explore-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 255, 0.6), rgba(107, 107, 255, 0.6));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-category-box .explore-link i {
  margin-left: 8px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.service-category-box .explore-link:hover {
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 255, 0.2);
}

.service-category-box .explore-link:hover::before {
  opacity: 1;
}

.service-category-box .explore-link:hover i {
  transform: translateX(8px);
}

.service-box-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
  height: 100%;
}

.service-box-link:hover {
  text-decoration: none;
  color: inherit;
  transform: scale(1.02);
}

.service-box-link .service-category-box {
  height: 100%;
  cursor: pointer;
}

/* Partner Carousel Overflow Fix */
.about-brand-sliderarea {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.about-brand-sliderarea .container {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.about-brand-slider {
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
}

.brand-img1 {
  text-align: center;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.brand-img1 img {
  max-width: 85%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.brand-img1:hover img {
  transform: scale(1.05);
}

/* Fix for any owl-carousel that might cause horizontal scrolling */
.owl-carousel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.owl-stage-outer {
  overflow: hidden;
}

/* Ensure owl-nav buttons don't cause overflow */
.owl-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.owl-nav button {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.3) !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.owl-nav button.owl-prev {
  left: 10px;
}

.owl-nav button.owl-next {
  right: 10px;
}

.owl-nav button i {
  color: white;
  font-size: 20px;
}

/* Body and html overflow fixes */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Add styling for the particles container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero2-section-area {
  position: relative;
  overflow: hidden;
}

.hero2-section-area .hero-overlay {
  z-index: 1;
}

.hero2-section-area .container {
  position: relative;
  z-index: 3;
}

/* Add subtle floating animation to the hero content */
.hero2-section-area .hero-content {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Add a subtle glow effect to the hero heading */
.hero2-section-area h1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
  position: relative;
}

/* Add pulse animation to the hero text for added attention */
.hero2-section-area .lead {
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

/* IT Services Animation Styles */
.it-service-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  opacity: 1;
}

/* Smooth reveal for service items */
[data-aos="fade-up"] {
  transform: translate3d(0, 30px, 0);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Improve animation performance on mobile */
@media (max-width: 767px) {
  .it-service-item {
    transition-duration: 0.3s;
  }
  
  [data-aos="fade-up"] {
    transform: translate3d(0, 15px, 0); /* Smaller translate distance on mobile */
  }
}

/* Add a subtle scale effect when hovering after animation completes */
.it-service-item.aos-animate:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure animations play correctly when scrolling back up */
html:not(.no-js) [data-aos=fade-up].aos-animate {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Make sure the accordion content also animates nicely */
.it-service-content {
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease;
}

/* Add animation to toggle icon for better UX */
.it-service-header .toggle-icon i {
  transition: transform 0.3s ease;
} 