/* Performance optimizations for smooth animations */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Smooth page fade on navigation with enhanced flicker prevention */
html {
  background: #000;
  /* Consistent background */
  overflow-x: hidden;
  /* Prevent horizontal scroll flash */
}

body {
  opacity: 1;
  transition: opacity 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #000;
  /* Consistent background */
  min-height: 100vh;
  /* Prevent layout shift */
  overflow-x: hidden;
  /* Prevent horizontal scroll flash */
}

body.page-fade-out {
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

/* Prevent initial flash during page load */
body.loading {
  opacity: 0;
  visibility: hidden;
  /* Additional layer of hiding */
}

/* Ensure smooth fade-in after page load */
body.loaded {
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0ms;
}

/* Prevent flash of animated elements during page load */
.page-loading [data-animate],
.page-loading .hero-image,
.page-loading .animate-float,
.page-loading .banner,
.page-loading .gradient-text,
.page-loading .btn-gradient-border {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: none !important;
  visibility: hidden !important;
}

.page-loading .banner .hero-image {
  opacity: 0 !important;
  transform: translateX(20px) scale(0.95) !important;
  transition: none !important;
  visibility: hidden !important;
}

/* Ensure consistent black background during transitions */
.page-loading::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  pointer-events: none;
}

/* Prevent image flash during load */
.page-loading img {
  opacity: 0 !important;
  transition: none !important;
}

/* Smooth image appearance when loaded */
body.loaded img {
  opacity: 1;
  transition: opacity 300ms ease-out;
}

/* GPU acceleration for animated elements */
.animate-float,
.btn-gradient-border,
.gradient-text,
[data-animate],
.parallax-y {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Reduce layout thrashing */
img {
  transform: translateZ(0);
  backface-visibility: hidden;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* 
  RESPONSIVE DESIGN OPTIMIZATION
  - Mobile: < 768px
  - Tablet: 768px - 991px
  - 14" Laptops: 992px - 1600px (optimized for 1366x768, 1440x900, 1600x900)
  - Desktop: > 1600px
*/

html {
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

body {
  background: #000;
  font-family: "Inter", sans-serif;
  color: #fff;
  margin: 0;
  padding-top: 80px;
  /* Compensate for fixed header */
}

/* 14" laptop specific adjustments */
@media (min-width: 992px) and (max-width: 1600px) {
  body {
    padding-top: 60px;
  }

  .container {
    max-width: 1140px;
  }
}

/* Offset anchor targets for fixed header */
section[id],
[id^="about"],
[id^="services"],
[id^="contact"],
#home {
  scroll-margin-top: 88px;
  /* header height + a bit */
}

/* Increase anchor offset on small screens where header is taller */
@media (max-width: 576px) {

  section[id],
  [id^="about"],
  [id^="services"],
  [id^="contact"],
  #home {
    scroll-margin-top: 120px;
  }
}

/* Container padding fix for mobile */
@media (max-width: 576px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* HEADER */
.site-header {
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  /* Prevent flicker during page transitions */
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

/* Ensure header elements don't flicker during page load/navigation */
.site-header,
.site-header *,
.site-header img,
.site-header .navbar-brand,
.site-header .navbar-brand img,
.site-header .nav-link,
.site-header .btn {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Override image transition for header specifically */
.site-header img {
  transition: none !important;
}

.site-header .navbar-brand img {
  margin-right: 40px;
  height: 75px;
  /* increased size */
  width: auto;
  opacity: 1.0;
  /* full brightness */
  filter: drop-shadow(0 0 15px rgba(255, 79, 216, 0.4)) drop-shadow(0 0 30px rgba(93, 0, 255, 0.3));
}

@media (max-width: 576px) {
  .site-header .navbar-brand img {
    height: 75px;
    /* match desktop height on mobile */
  }
}

.site-header .nav-link {
  color: #E6E6F0;
  margin-right: 1rem;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.site-header .nav-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.site-header .nav-link.active {
  color: #fff !important;
  font-weight: 600;
}

.site-header .search-bar {
  background: rgba(255, 255, 255, 0.062745098);
  border-radius: 100px;
  padding: 1px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2823529412);
}

.site-header .search-bar ::-moz-placeholder {
  color: rgba(230, 230, 240, 0.65);
  font-size: 14px;
  font-weight: 400;
}

.site-header .search-bar ::placeholder {
  color: rgba(230, 230, 240, 0.65);
  font-size: 14px;
  font-weight: 400;
}

.site-header .search-bar input {
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  box-shadow: none;
  font-size: 14px;
}

.site-header .login {
  padding: 8px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfdfd 50%, #f5f5f5 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  color: #09090A;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.site-header .login:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.site-header .login.active {
  background: linear-gradient(90deg, #ff9d42, #ff4fd8);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 157, 66, 0.3);
}

.site-header .btn-gradient {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 32%);
  color: #E6E6F0;
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2823529412);
  transition: all 0.3s ease;
}

.site-header .btn-gradient:hover {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 32%);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
}

.site-header .btn-gradient.active {
  background: linear-gradient(90deg, #ff9d42, #ff4fd8);
  color: #fff;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 79, 216, 0.3);
}

.site-header .btn-gradient:hover {
  opacity: 0.9;
}

/* Navbar toggler styles for dark theme */
.site-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  padding: 4px 8px;
}

.site-header .navbar-toggler:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.site-header .navbar-toggler:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.site-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, #ef7b75, #f25c99, #f63fba, #d2359e, #a14a4a);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* Gradient Button */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  background: linear-gradient(90deg, #ff9d42, #ff4fd8, #5d00ff);
  font-weight: 500;
  font-size: 14px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 79, 216, 0.3);
}

.btn-gradient:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 79, 216, 0.4);
}

/* Gradient Border Button */
.btn-gradient-border {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  background-color: #000;
  margin-top: 3rem;
  z-index: 1;
  opacity: 0;
  transform: translateY(25px) scale(0.9);
  animation: heroButtonReveal 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
  border: 2px solid transparent;
  background-image: linear-gradient(#000, #000), linear-gradient(90deg, #ff9d42, #ff4fd8, #5d00ff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-gradient-border:hover {
  opacity: 0.9;
}

.btn-gradient-border .arrow {
  margin-left: 0.5rem;
}

/* BANNER */
.banner {
  padding: 4rem 0;
  margin-top: clamp(20px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%), url("Images/bannar-bg.png") center/cover no-repeat;
}

/* Reduce top margin on 14" screens */
@media (min-width: 992px) and (max-width: 1600px) {
  .banner {
    margin-top: 10px;
    padding: 2.5rem 0;
  }
}

.banner .banner-content h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  padding-bottom: 12px;
  font-weight: 200;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTitleReveal 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

.banner .banner-content p {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextReveal 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

@media (min-width: 1200px) {
  .banner .banner-content p {
    max-width: 76%;
  }
}

@media (max-width: 576px) {
  .banner {
    padding: 2rem 0rem;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
  }

  .banner .banner-content h1 {
    font-size: 2rem;
    padding-bottom: 8px;
  }

  .banner .banner-content p {
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1rem;
  }

  .banner .btn-gradient-border {
    margin-top: 1rem;
  }

  .banner img {
    margin-top: 1.5rem;
  }
}

/* Hero image specific styling */
.hero-image {
  opacity: 0;
  transform: translateX(20px) scale(0.95) rotate(2deg);
  animation: heroImageReveal 2.0s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s forwards;
  /* Remove filters to prevent black box artifacts on transparent PNGs */
  filter: none !important;
  -webkit-filter: none !important;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Ensure no filter gets applied by other animations/classes on the hero image */
.banner img.hero-image,
.banner .hero-image,
.banner .animate-float.hero-image {
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
}

/* Force no background on image container */
.banner .col-lg-6 {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.banner .text-center {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* BANNER CAROUSEL STYLES */
.banner-carousel {
  position: relative;
  overflow: hidden;
  margin-top: clamp(20px, 3vw, 32px);
  min-height: 70vh;
}

.banner-fixed-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 70vh;
  height: 70vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%), url('Images/bannar-bg.png') center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
}

/* Reduce top margin on 14" screens */
@media (min-width: 992px) and (max-width: 1600px) {
  .banner-carousel {
    margin-top: 10px;
  }
}

.carousel-slide {
  padding: 4rem 0;
  position: relative;
  min-height: 70vh;
  height: 100%;
  display: flex;
  align-items: center;
  background: transparent !important;
}

#heroCarousel .carousel-inner {
  min-height: 70vh;
}

#heroCarousel .carousel-item {
  min-height: 70vh;
}

.banner-carousel .banner-content h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  padding-bottom: 12px;
  font-weight: 200;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTitleReveal 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

.banner-carousel .banner-content p {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextReveal 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

/* Center-aligned content for slides 2, 3, 4 */
.banner-carousel .banner-content.text-center p {
  text-align: center !important;
}

.banner-carousel .banner-content.text-center .description {
  text-align: center !important;
}

/* Star icon styling */
.star-icon {
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.star-img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Carousel indicators custom styling */
.carousel-indicators {
  bottom: 30px;
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin: 0 6px;
  opacity: 1;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background: linear-gradient(45deg, #EAA843, #F929D5, #050AB3, #09EEFD);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Carousel controls custom styling */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
}

/* Responsive styles for carousel */
@media (min-width: 1200px) {
  .banner-carousel .banner-content.text-lg-start p {
    max-width: 90%;
  }

  .banner-carousel .banner-content.text-center p {
    max-width: 60%;
    margin: 0 auto;
  }
}

/* 14" laptop screens (1366x768 to 1600x900) */
@media (min-width: 992px) and (max-width: 1600px) {
  .carousel-slide {
    padding: 3rem 0;
    min-height: 60vh;
  }

  .banner-carousel .banner-content h1 {
    font-size: 2.5rem;
  }

  .banner-carousel .banner-content p {
    font-size: 1rem;
  }

  .banner-carousel .banner-content.text-lg-start p {
    max-width: 100%;
  }

  .hero-image {
    max-width: 75%;
    margin: 0 auto;
  }

  .info-section {
    padding: 80px 0;
  }

  .info-section h2 {
    font-size: 2.5rem;
  }

  .ai-engine-section {
    padding: 80px 0;
  }

  .impact-section {
    padding: 60px 0;
  }

  .cta-section {
    padding: 80px 0;
  }

  .capabilities {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    padding: 2rem 0;
    min-height: 60vh;
  }

  .banner-carousel .banner-content h1 {
    font-size: 2.5rem;
    padding-bottom: 8px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }

  .carousel-control-prev {
    left: 15px;
  }

  .carousel-control-next {
    right: 15px;
  }

  .carousel-indicators {
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .carousel-slide {
    padding: 1.5rem 0;
    min-height: 50vh;
  }

  .banner-carousel .banner-content h1 {
    font-size: 2rem;
    padding-bottom: 8px;
  }

  .banner-carousel .banner-content p {
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1rem;
  }

  .banner-carousel .btn-gradient-border {
    margin-top: 1rem;
  }

  .star-img {
    width: 24px;
    height: 24px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
    /* Hide controls on very small screens */
  }
}

/* Ensure carousel items maintain proper animations */
.carousel-item.active .banner-content h1,
.carousel-item.active .banner-content p,
.carousel-item.active .star-icon {
  animation-play-state: running;
}

/* AGGRESSIVE OVERRIDE - Remove ALL backgrounds from banner image area */
.banner img,
.banner .hero-image,
.banner .img-fluid,
.banner .animate-float {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
}

/* Accessibility: ensure visibility when user prefers reduced motion */
html.reduced-motion .hero-image {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

/* Prevent flickering on banner elements */
.banner .hero-image.is-inview {
  animation: heroImageReveal 2.0s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    floatY 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2.2s infinite;
}

/* Prevent initial flash on page load */
.banner .hero-image:not(.is-inview) {
  opacity: 0;
  transform: translateX(20px) scale(0.95);
}

/* Enhanced hero section performance */
.banner {
  contain: layout style paint;
  transform: translateZ(0);
}

.banner .banner-content {
  contain: layout style;
}

/* COLLAPSE FIX */
.collapse.navbar-collapse {
  display: none;
  /* hide by default on mobile */
}

.collapse.navbar-collapse.show {
  display: flex;
  /* show when toggled */
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
}

/* Desktop layout */
@media (min-width: 992px) {
  .collapse.navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-direction: row;
  }

  .navbar-nav {
    flex-direction: row;
    margin-right: 0;
  }

  .search-bar {
    flex-shrink: 0;
    margin: 0 1rem;
  }

  .btn-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Mobile menu styles */
@media (max-width: 991px) {
  #navbarRight .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  #navbarRight .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
  }

  #navbarRight.show {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 1rem;
  }

  #navbarRight .search-bar {
    margin: 1rem 0;
  }

  #navbarRight .btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
}

/* Info Section */
.info-section {
  padding: 120px 0;
}

/* Reduce padding on 14" screens */
@media (min-width: 992px) and (max-width: 1600px) {
  .info-section {
    padding: 60px 0 !important;
  }
}

.info-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  /* 60px */
  margin-bottom: 1rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.info-section p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 300;
}

@media (min-width: 1200px) {
  .info-section p {
    max-width: 80%;
  }
}

.info-section .underline-link {
  font-size: 1.2rem;
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.76);
}

.info-section .underline-link:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .info-section {
    padding: 1rem 0rem;
  }

  .info-section h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .info-section p {
    font-size: 1rem;
    line-height: 24px;
  }

  .info-section .underline-link {
    font-size: 1rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .info-section h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 400px) {
  .info-section h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }
}

.automation-cards {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 0;
  background-color: #000;
  overflow: hidden;
  /* Background only */
  /* Inner container above background */
  /* Intro section */
  /* Cards grid uses Bootstrap row/col, spacing handled by Bootstrap */
}

.automation-cards .automation-cards__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 90%, #000 100%), url("Images/feature_bg.png") center/cover no-repeat;
  z-index: 0;
}

.automation-cards .automation-cards__inner {
  position: relative;
  z-index: 1;
}

.automation-cards .automation-cards__intro {
  max-width: 60%;
  color: #fff;
  padding-bottom: 4rem;
  margin-bottom: 3rem;
}

@media (max-width: 991.98px) {
  .automation-cards .automation-cards__intro {
    max-width: 100%;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
}

.automation-cards .automation-cards__title {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 5vw, 3.75rem);
  line-height: 1.1;
  font-weight: 500;
}

.automation-cards .automation-cards__title .gradient-text {
  background: linear-gradient(to right, rgb(234, 166, 69), rgb(236, 143, 93), rgb(236, 125, 117), rgb(239, 104, 138), rgb(245, 76, 173));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.automation-cards .automation-cards__desc {
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  font-weight: 300;
}

@media (max-width: 768px) {
  .automation-cards .automation-cards__desc {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

.automation-cards .automation-card {
  position: relative;
  padding: 32px 24px;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(0.5px);
  backdrop-filter: blur(0.5px);
  transition: all 0.3s ease;
  opacity: 0.7;
  height: 100%;
  /* reduced opacity by default */
}

@media (max-width: 1200px) {
  .automation-cards .automation-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    border-top: unset;
    padding: 24px 20px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .automation-cards .automation-card {
    padding: 20px 16px;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1200px) {
  .automation-cards .automation-card:hover {
    transform: translateY(-2px);
    opacity: 1;
  }

  .automation-cards .automation-card:hover .automation-card__title,
  .automation-cards .automation-card:hover .automation-card__desc {
    color: #fff;
  }

  .automation-cards .automation-card:hover::before {
    opacity: 1;
  }

  .automation-cards .automation-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #ff9d42, #ff4fd8, #5d00ff);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }
}

.automation-cards .automation-card__title {
  margin-bottom: 1rem;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.3;
  color: #fff;
  font-weight: 500;
}

@media (min-width: 1200px) {
  .automation-cards .automation-card__title {
    max-width: 78%;
  }
}

.automation-cards .automation-card__desc {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 200;
}

@media (max-width: 768px) {
  .automation-cards .automation-card__desc {
    font-size: 14px;
    margin-bottom: 0.75rem;
  }
}

/* AUTOMATION CARDS ENDS */
.ai-engine-section {
  padding: 120px 0;
  color: #fff;
  background: url("Images/technologyical_egde.png") no-repeat center center;
  background-size: cover;
  background-position: right;
  background-blend-mode: overlay;
  position: relative;
  /* Tablet view adjustments */
  /* Mobile view adjustments */
}

.ai-engine-section .small-heading {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 22px;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-engine-section .main-heading {
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 500;
  margin-bottom: 28px;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-engine-section .main-heading span {
  background: linear-gradient(90deg, #ef7b3d, #f25c99, #f63fba, #dbdbdb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-engine-section .description {
  font-size: 1.375rem;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.ai-engine-section .ai-cards .ai-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 60px;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.ai-engine-section .ai-cards .ai-card .icon-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-weight: 500;
}

.ai-engine-section .ai-cards .ai-card .icon-title h3 {
  font-size: 1.375rem;
  margin: 0;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.ai-engine-section .ai-cards .ai-card p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
  .ai-engine-section {
    padding: 80px 0;
  }

  .ai-engine-section .small-heading {
    font-size: 1.25rem;
  }

  .ai-engine-section .main-heading {
    font-size: 2.5rem;
  }

  .ai-engine-section .description {
    font-size: 1.25rem;
    margin-bottom: 40px;
  }

  .ai-engine-section .ai-cards .ai-card {
    padding: 40px;
  }

  .ai-engine-section .ai-cards .ai-card .icon-title h3 {
    font-size: 1.25rem;
  }

  .ai-engine-section .ai-cards .ai-card .icon-title img {
    width: 40px;
  }

  .ai-engine-section .ai-cards .ai-card p {
    font-size: 0.9375rem;
  }
}

@media (max-width: 576px) {
  .ai-engine-section {
    /* Increase breathing room on mobile */
    padding: 32px 0;
  }

  .ai-engine-section .small-heading {
    font-size: 1.125rem;
    margin-bottom: 12px;
  }

  .ai-engine-section .main-heading {
    font-size: clamp(1.8rem, 5vw, 3.75rem);
  }

  .ai-engine-section .description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Apply spacing to mobile carousel cards (not wrapped in .ai-cards) */
  .ai-engine-section #aiCarousel .carousel-inner {
    padding: 0 12px;
  }

  .ai-engine-section #aiCarousel .carousel-item {
    padding: 0 4px;
  }

  .ai-engine-section .ai-card {
    padding: 24px;
    margin: 10px 0 16px;
    border-radius: 12px;
  }

  .ai-engine-section .ai-cards .ai-card .icon-title {
    gap: 10px;
  }

  .ai-engine-section .ai-card .icon-title h3 {
    font-size: 1rem;
  }

  .ai-engine-section .ai-card p {
    font-size: 0.875rem;
  }

  /* Make icons slightly larger and stop animations on mobile */
  .ai-engine-section .ai-card .icon-title img {
    width: 44px;
    height: auto;
    animation: none !important;
  }
}

.impact-section {
  background-color: #000;
  background-image: url("Images/impact-bg.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  padding: 80px 0;
  color: #fff;
  position: relative;
}

@media (max-width: 768px) {
  .impact-section {
    padding: 20px 0px;
  }
}

.impact-section .impact-header {
  max-width: 700px;
  margin-bottom: 50px;
}

.impact-section .impact-header h2 {
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .impact-section .impact-header h2 {
    font-size: clamp(1.8rem, 5vw, 3.75rem);
  }
}

.impact-section .impact-header p {
  font-size: 1rem;
  color: #aaa;
  margin-top: 15px;
}

.impact-section .impact-cards .impact-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .impact-section .impact-cards .impact-card {
    padding: 24px 16px;
  }
}

.impact-section .impact-cards .impact-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.3rem;
}

@media (max-width: 1200px) {
  .impact-section .impact-cards .impact-card h3 {
    font-size: 1.1rem;
    min-height: 1.1rem;
  }
}

@media (max-width: 768px) {
  .impact-section .impact-cards .impact-card h3 {
    font-size: 1rem;
    white-space: normal;
    min-height: auto;
  }
}

.impact-section .impact-cards .impact-card p {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 200;
  margin-bottom: 20px;
  flex-grow: 1;
  min-height: 3.6rem;
}

@media (max-width: 768px) {
  .impact-section .impact-cards .impact-card p {
    font-size: 0.7rem;
    min-height: auto;
  }
}

.impact-section .impact-cards .impact-card .percentage {
  font-size: 36px;
  font-weight: 600;
  display: block;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: auto;
  line-height: 1;
}

@media (max-width: 992px) {
  .impact-section .impact-header {
    margin-bottom: 30px;
  }

  .impact-section .percentage {
    font-size: 20px;
  }
}

.hub8-section {
  background: url("../assets/Images/impac") center/cover no-repeat;
  color: #fff;
  padding: 120px 0;
}

.hub8-section .hub-title {
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 600px;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub8-section .hub-title .highlight {
  color: #ff4fa2;
}

.hub8-section .feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.hub8-section .feature .icon {
  color: #ff4fa2;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.hub8-section .feature h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.hub8-section .feature p {
  margin: 0;
  font-size: 0.95rem;
  color: #ccc;
}

@media (max-width: 768px) {
  .hub8-section {
    text-align: center;
  }

  .hub8-section .feature {
    flex-direction: column;
    align-items: center;
  }

  .hub8-section .feature .icon {
    margin-bottom: 8px;
    margin-right: 0;
  }
}

.cta-section {
  background-color: #000;
  color: #fff;
  padding: 120px 0;
}

.cta-section .cta-subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  margin-bottom: 12px;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

.cta-section .cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.1;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-section .cta-description {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 450px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.cta-section .cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .cta-buttons a {
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-section .cta-buttons .btn-cta1 {
  color: #000000;
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(45deg, #ff6b6b, #6b9fff) border-box;
  border: 1.4px solid transparent;
  border-radius: 100px;
  margin-right: 16px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.cta-section .cta-buttons .btn-cta1:hover {
  opacity: 0.9;
}

.cta-section .cta-buttons .btn-cta2 {
  position: relative;
  padding: 10px 22px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  z-index: 1;
  transition: color 0.3s ease, background-color 0.3s ease;
  overflow: hidden;
}

.cta-section .cta-buttons .btn-cta2::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, #ff9d42, #ff4fd8, #5d00ff);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.cta-section .cta-buttons .btn-cta2:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 24px 0;
  }

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

  .cta-section .cta-buttons .btn-cta1 {
    margin-right: 0;
    margin-bottom: 12px;
  }
}

.capabilities {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../assets/Images/Capabilities.png") center/cover no-repeat;
  background-blend-mode: overlay;
  color: #fff;
  padding: 120px 0;
}

@media (max-width: 768px) {
  .capabilities {
    padding: 60px 0 !important;
  }
}

@media (max-width: 576px) {
  .capabilities {
    padding: 40px 0 !important;
  }
}

.capabilities .cap-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .capabilities .cap-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    text-align: center;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .capabilities .cap-title {
    font-size: 22px;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .capabilities .cap-title {
    max-width: 80%;
  }
}

.capabilities .cap-title .highlight {
  background: linear-gradient(90deg, #ef7b75, #f25c99, #f63fba, #dbdbdb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.capabilities .feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  .capabilities .feature {
    margin-bottom: 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.capabilities .feature .icon {
  margin-right: 15px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .capabilities .feature .icon {
    margin-right: 0;
    margin-bottom: 10px;
    align-self: center;
  }
}

.capabilities .feature .text-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.capabilities .feature .text-wrap h5 {
  margin-bottom: 8px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.capabilities .feature .text-wrap p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 200;
}

@media (max-width: 768px) {
  .capabilities .feature .text-wrap p {
    font-size: 0.9rem;
  }
}

.capabilities .last {
  margin-bottom: 0px;
}

@media (max-width: 768px) {
  .capabilities {
    padding: 24px 0;
  }

  .capabilities .feature {
    flex-direction: row;
    align-items: flex-start;
    margin-top: 2rem;
    flex-wrap: nowrap;
  }

  .capabilities .feature .top-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }

  .capabilities .feature .top-row .icon {
    margin-right: 8px;
    margin-bottom: 0;
  }

  .capabilities .feature .top-row h5 {
    margin-bottom: 0;
    font-size: 16px;
  }

  .capabilities .feature p {
    margin: 0;
    font-size: 12px;
  }
}

/* MOBILE HEADER LAYOUT */
@media (max-width: 576px) {
  body {
    padding-top: 120px;
    /* Slightly increased to prevent top content cut-off on mobile */
  }

  .site-header .navbar {
    flex-wrap: wrap;
  }

  .site-header .navbar-brand {
    margin-bottom: 0.5rem;
  }

  .site-header .search-bar {
    width: 100%;
    margin-top: 0.5rem;
  }
}

.feature h5 {
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 22px;
}

@media (max-width: 576px) {
  .feature h5 {
    font-size: 18px;
  }
}

.feature p {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Enhancements: animations and brighter interactions (no layout change) --- */
/* Enhanced floating animation for hero image */
@keyframes floatY {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: drop-shadow(0 10px 20px rgba(255, 79, 216, 0.1));
  }

  33% {
    transform: translateY(-8px) scale(1.02) rotate(1deg);
    filter: drop-shadow(0 15px 30px rgba(255, 79, 216, 0.15));
  }

  66% {
    transform: translateY(-4px) scale(1.01) rotate(-0.5deg);
    filter: drop-shadow(0 12px 25px rgba(255, 79, 216, 0.12));
  }

  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: drop-shadow(0 10px 20px rgba(255, 79, 216, 0.1));
  }
}

/* Hero section specific animations */
@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  60% {
    opacity: 0.8;
    transform: translateY(10px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroButtonReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }

  70% {
    opacity: 0.8;
    transform: translateY(-3px) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroImageReveal {
  0% {
    opacity: 0.7;
    transform: translateX(20px) scale(0.95) rotate(2deg);
  }

  60% {
    opacity: 0.9;
    transform: translateX(-2px) scale(1.02) rotate(-0.5deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

/* No-blur variants for carousel slides */
@keyframes heroTitleRevealNoBlur {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  60% {
    opacity: 0.8;
    transform: translateY(10px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextRevealNoBlur {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Override carousel slides to use no-blur animations */
.banner-carousel .banner-content h1 {
  animation-name: heroTitleRevealNoBlur;
}

.banner-carousel .banner-content p,
.banner-carousel .banner-content .description {
  animation-name: heroTextRevealNoBlur;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 79, 216, 0.3), 0 0 40px rgba(255, 79, 216, 0.1);
    filter: brightness(1);
  }

  50% {
    box-shadow: 0 0 30px rgba(255, 79, 216, 0.5), 0 0 60px rgba(255, 79, 216, 0.2);
    filter: brightness(1.1);
  }
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3) translateY(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1) translateY(-10px);
    opacity: 1;
  }

  70% {
    transform: scale(0.9) translateY(5px);
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes flipInX {
  0% {
    transform: perspective(1000px) rotateX(-90deg);
    opacity: 0;
  }

  40% {
    transform: perspective(1000px) rotateX(10deg);
  }

  70% {
    transform: perspective(1000px) rotateX(-5deg);
  }

  100% {
    transform: perspective(1000px) rotateX(0deg);
    opacity: 1;
  }
}

@keyframes heartbeat {

  0%,
  40%,
  80%,
  100% {
    transform: scale(1);
  }

  20%,
  60% {
    transform: scale(1.15);
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blinkCursor {

  0%,
  50% {
    border-right-color: transparent;
  }

  51%,
  100% {
    border-right-color: #ff4fd8;
  }
}

/* Enhanced floating animation with slower, smoother transitions */
.animate-float {
  animation: floatY 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  will-change: transform, filter;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  animation-fill-mode: both;
}

.animate-pulse {
  animation: pulseGlow 3s ease-in-out infinite;
}

.animate-rotate {
  animation: rotate360 8s linear infinite;
}

.animate-heartbeat {
  animation: heartbeat 2s ease-in-out infinite;
}

.impact-cards .impact-card {
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.impact-cards .impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(255, 79, 216, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.ai-cards .ai-card {
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.ai-cards .ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(89, 0, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.tilt:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-gradient-border {
  transition: box-shadow 250ms ease, transform 250ms ease;
}

.btn-gradient-border:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 157, 66, 0.25);
}

.gradient-text {
  filter: drop-shadow(0 0 8px rgba(245, 76, 173, 0.18));
}

/* Provide standard background-clip for all gradient-text usages across sections */
.gradient-text,
.info-section h2,
.automation-cards .automation-cards__title .gradient-text,
.ai-engine-section .small-heading,
.ai-engine-section .main-heading,
.impact-section .impact-header h2,
.impact-section .impact-cards .impact-card h3,
.impact-section .impact-cards .impact-card .percentage,
.cta-section .cta-subtitle,
.cta-section .cta-title,
.capabilities .cap-title,
.capabilities .feature .text-wrap h5,
.hub8-section .hub-title,
.feature h5 {
  background-clip: text;
}

/* Scroll progress bar at top */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, #ff9d42, #ff4fd8, #5d00ff);
  z-index: 9999;
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.35);
}

/* Parallax helper: element moves slightly with scroll via CSS variable */
.parallax-y {
  transform: translateY(var(--parallax-y, 0)) rotate(var(--parallax-rotation, 0deg)) translateZ(0);
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Utility for staggered children (set via inline style by JS) */
[data-stagger]>*[data-animate] {
  transition-delay: var(--stagger-delay, 0ms) !important;
}

/* Respect reduced motion */
.reduced-motion * {
  transition: none !important;
  animation: none !important;
}

/* Header horizontal breathing room */
.site-header .container-fluid {
  padding-left: clamp(16px, 4vw, 80px) !important;
  padding-right: clamp(16px, 4vw, 80px) !important;
}

/* Footer horizontal breathing room to match header */
.site-footer .container-fluid {
  padding-left: clamp(16px, 4vw, 80px) !important;
  padding-right: clamp(16px, 4vw, 80px) !important;
}

/*# sourceMappingURL=style.css.map */

/* Extra visual flourishes */
.shine-once {
  position: relative;
  overflow: hidden;
}

.shine-once::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: shineSweep 1400ms 400ms ease-out both;
}

@keyframes shineSweep {
  to {
    left: 160%;
  }
}

.underline-link,
.btn-gradient-border {
  position: relative;
}

.underline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #ff9d42, #ff4fd8, #5d00ff);
  transition: width 300ms ease;
}

.underline-link:hover::after {
  width: 100%;
}

/* Image reveal animation (clip-path wipe) */
[data-animate="reveal"] img {
  clip-path: inset(0 100% 0 0);
  opacity: 0.001;
}

[data-animate="reveal"].is-inview img {
  transition: clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 600ms ease-out;
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* stronger parallax utility (controlled by JS via CSS var) */
.parallax-strong {
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}

/* Enhanced hover effects for cards */
.automation-card,
.ai-card,
.impact-card {
  position: relative;
  overflow: hidden;
}

.automation-card::before,
.ai-card::before,
.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.automation-card:hover::before,
.ai-card:hover::before,
.impact-card:hover::before {
  left: 100%;
}

/* Enhanced gradient text with glow */
.gradient-text {
  position: relative;
  filter: drop-shadow(0 0 8px rgba(245, 76, 173, 0.18));
  transition: filter 0.3s ease;
}

.gradient-text:hover {
  filter: drop-shadow(0 0 15px rgba(245, 76, 173, 0.4));
}

/* Floating icons animation */
.feature .icon {
  transition: transform 0.3s ease;
}

.feature:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

/* AI Engine section icons - only scale on hover */
.ai-engine-section .ai-card .icon-title img {
  transition: transform 0.3s ease;
}

.ai-engine-section .icon-title img.animate-rotate,
.ai-engine-section .icon-title img.animate-pulse,
.ai-engine-section .icon-title img.animate-heartbeat {
  animation: none !important;
}

.ai-engine-section .ai-card:hover .icon-title img {
  transform: scale(1.15);
}

/* Enhanced button animations with micro-interactions */
.btn-gradient-border {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: heroButtonReveal 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}

.btn-gradient-border:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 157, 66, 0.4), 0 5px 15px rgba(255, 157, 66, 0.2);
  filter: brightness(1.1);
}

.btn-gradient-border:active {
  transform: translateY(-1px) scale(1.02);
  transition: all 0.1s ease;
}

/* Pulse effect for logo */
.navbar-brand img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(255, 79, 216, 0.6)) drop-shadow(0 0 40px rgba(93, 0, 255, 0.5)) drop-shadow(0 0 60px rgba(255, 157, 66, 0.3));
}

/* Enhanced animated underlines and active states for nav links */
.nav-link {
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff9d42, #ff4fd8);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Enhanced active and hover states */
.nav-link:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #fff !important;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 157, 66, 0.3);
}

.nav-link.active::after {
  box-shadow: 0 0 8px rgba(255, 79, 216, 0.4);
}

/* Staggered fade in for features */
.feature {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.feature.visible {
  opacity: 1;
  transform: translateX(0);
}

.feature:nth-child(1) {
  transition-delay: 0.1s;
}

.feature:nth-child(2) {
  transition-delay: 0.2s;
}

.feature:nth-child(3) {
  transition-delay: 0.3s;
}

.feature:nth-child(4) {
  transition-delay: 0.4s;
}

/* Enhanced CTA section */
.cta-section {
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 79, 216, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Disable glow overlay on CTA section */
.cta-section::before {
  content: none !important;
  animation: none !important;
  background: none !important;
}

/* Text selection styling */
::selection {
  background: rgba(255, 79, 216, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(255, 79, 216, 0.3);
  color: #fff;
}

/* Advanced background animations */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Floating elements enhancement */
@keyframes floatComplex {

  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-8px) rotate(1deg) scale(1.02);
  }

  50% {
    transform: translateY(-4px) rotate(0deg) scale(1);
  }

  75% {
    transform: translateY(-12px) rotate(-1deg) scale(0.98);
  }
}

/* Card stack effect */
.automation-card,
.ai-card,
.impact-card {
  position: relative;
  z-index: 1;
}

.automation-card::after,
.ai-card::after,
.impact-card::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg, rgba(255, 79, 216, 0.1), rgba(89, 0, 255, 0.1));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.95);
}

.automation-card:hover::after,
.ai-card:hover::after,
.impact-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Enhanced text animations */
@keyframes textGlow {

  0%,
  100% {
    text-shadow: 0 0 5px rgba(255, 79, 216, 0.3);
  }

  50% {
    text-shadow: 0 0 20px rgba(255, 79, 216, 0.6), 0 0 30px rgba(255, 79, 216, 0.4);
  }
}

.gradient-text:hover {
  animation: textGlow 2s ease-in-out infinite;
}

/* Interactive grid lines effect - REMOVED to eliminate square backgrounds */

/* Enhanced scroll progress bar */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, #ff9d42, #ff4fd8, #5d00ff);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  z-index: 9999;
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.35);
}

/* Animated icons */
.feature .icon {
  position: relative;
}

.feature .icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff9d42, #ff4fd8) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.feature:hover .icon::after {
  opacity: 1;
  transform: scale(1);
}

/* Dynamic border animations */
@keyframes borderPulse {

  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 rgba(255, 79, 216, 0);
  }

  50% {
    border-color: rgba(255, 79, 216, 0.3);
    box-shadow: 0 0 20px rgba(255, 79, 216, 0.2);
  }
}

.automation-card,
.ai-card,
.impact-card {
  animation: borderPulse 4s ease-in-out infinite;
}

/* Staggered border animations */
.automation-card:nth-child(1) {
  animation-delay: 0s;
}

.automation-card:nth-child(2) {
  animation-delay: 1s;
}

.automation-card:nth-child(3) {
  animation-delay: 2s;
}

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

/* FOOTER */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 40px;
  margin-top: 120px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 157, 66, 0.3), rgba(255, 79, 216, 0.3), rgba(93, 0, 255, 0.3), transparent);
}

.footer-logo {
  height: 75px;
  margin-bottom: 0;
}

.footer-description {
  color: #E6E6F0;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 400px;
  opacity: 0.8;
}

.footer-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #ff9d42, #ff4fd8);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #E6E6F0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.footer-links a:hover {
  color: #ff4fd8;
  opacity: 1;
}

.footer-contact .contact-address {
  color: #E6E6F0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.8;
  font-style: normal;
}

.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 60px 0 30px;
}

.copyright {
  color: #E6E6F0;
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.6;
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #E6E6F0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 79, 216, 0.1);
  border-color: rgba(255, 79, 216, 0.3);
  color: #ff4fd8;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 60px 0 30px;
    margin-top: 80px;
  }

  .footer-social {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .footer-description {
    margin-bottom: 30px;
  }
}

/* COMING SOON STYLES */
.coming-soon-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.coming-soon-card h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.coming-soon-card .lead {
  color: rgba(255, 255, 255, 0.8);
}

.coming-soon-card p {
  color: rgba(255, 255, 255, 0.6);
}

/* NEW PAGE STYLES */
.main-content {
  padding-top: 0;
  min-height: calc(100vh - 200px);
}

.careers-hero,
.how-it-works-hero,
.vision-hero,
.privacy-hero,
.terms-hero,
.support-hero {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
    url('../Images/bannar-bg.png') center/cover;
  color: #fff;
}

.platform-hero {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%),
    url('../Images/bannar-bg.png') center/cover no-repeat;
  color: #fff;
}

.careers-hero h1,
.how-it-works-hero h1,
.vision-hero h1,
.privacy-hero h1,
.terms-hero h1,
.support-hero h1 {
  background: linear-gradient(to bottom, #ffffff 0%, #bababa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card,
.step-card,
.platform-feature,
.vision-feature,
.support-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover,
.step-card:hover,
.platform-feature:hover,
.vision-feature:hover,
.support-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.feature-card h3,
.feature-card h4,
.step-card h3,
.step-card h4,
.platform-feature h3,
.platform-feature h4,
.vision-feature h3,
.vision-feature h4,
.support-option h3,
.support-option h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.feature-card p,
.step-card p,
.platform-feature p,
.vision-feature p,
.support-option p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #ff9d42, #ff4fd8);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* ENHANCED FOOTER STYLES */
.site-footer .footer-links li {
  margin-bottom: 8px;
}

.site-footer .footer-links a {
  font-size: 13px;
  opacity: 0.7;
}

.site-footer .footer-links a:hover {
  opacity: 1;
  color: #ff4fd8;
}

.site-footer .footer-title {
  font-size: 16px;
  margin-bottom: 20px;
}

.site-footer .footer-brand .contact-address {
  font-size: 13px;
  opacity: 0.7;
}

/* MODAL STYLES */
.modal-content {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.modal-content .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content .modal-header .modal-title {
  color: #fff;
}

.modal-content .modal-header .btn-close {
  filter: invert(1);
  opacity: 0.7;
}

.modal-content .modal-header .btn-close:hover {
  opacity: 1;
}

.modal-content .modal-body {
  color: rgba(255, 255, 255, 0.8);
}

.modal-content .modal-body h4 {
  color: #fff;
}

.modal-content .modal-body .text-primary {
  color: #ff4fd8 !important;
}

.modal-content .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .site-footer .footer-title {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .site-footer .footer-links a {
    font-size: 12px;
  }

  .coming-soon-card {
    padding: 2rem 1.5rem;
  }

  .feature-card,
  .step-card,
  .platform-feature,
  .vision-feature,
  .support-option {
    padding: 1.5rem;
  }
}

/* 14" Laptop Optimization (1366x768, 1440x900, 1600x900) */
@media (min-width: 992px) and (max-width: 1600px) {

  /* Reduce excessive spacing on smaller laptops */
  section {
    padding: 50px 0 !important;
  }

  .banner,
  .banner-carousel {
    padding: 2.5rem 0;
    margin-top: 10px;
  }

  .info-section {
    padding: 60px 0 !important;
  }

  .ai-engine-section,
  .impact-section,
  .capabilities,
  .cta-section {
    padding: 50px 0 !important;
  }

  .automation-cards {
    padding: 50px 0 !important;
  }

  /* Optimize font sizes for 14" screens */
  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  p,
  .description {
    font-size: 0.95rem !important;
  }

  /* Reduce container padding */
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Optimize header for 14" screens */
  .site-header .nav-link {
    font-size: 13px;
    margin-right: 0.75rem;
  }

  .site-header .navbar-brand img {
    height: 60px;
  }

  /* Adjust card padding */
  .automation-card {
    padding: 24px 20px;
  }

  .ai-engine-section .ai-cards .ai-card {
    padding: 40px;
  }

  .impact-section .impact-cards .impact-card {
    padding: 24px;
  }

  /* Optimize button sizes */
  .btn-gradient-border,
  .btn-gradient {
    padding: 0.6rem 1.2rem;
    font-size: 13px;
  }

  /* Reduce hero image size on smaller laptops */
  .hero-image {
    max-width: 85%;
  }

  /* Optimize footer */
  .site-footer {
    padding: 60px 0 30px;
    margin-top: 80px;
  }

  .footer-logo {
    height: 60px;
  }
}

/* Extra small 14" screens (1366x768) */
@media (min-width: 992px) and (max-width: 1400px) {
  .carousel-slide {
    min-height: 55vh;
    padding: 2.5rem 0;
  }

  .banner-carousel .banner-content h1 {
    font-size: 2.25rem !important;
  }

  .info-section h2 {
    font-size: 2.25rem !important;
  }

  .ai-engine-section .main-heading {
    font-size: 2rem !important;
  }

  .impact-section .impact-header h2 {
    font-size: 2rem !important;
  }

  /* Make cards more compact */
  .automation-card {
    padding: 20px 16px;
  }

  .ai-engine-section .ai-cards .ai-card {
    padding: 30px;
  }

  .impact-section .impact-cards .impact-card {
    padding: 20px;
  }
}

/* Privacy Policy and Terms of Service Content Styles */
.privacy-policy-content,
.terms-of-service-content {
  color: #fff;
  line-height: 1.6;
}

.privacy-policy-content h2,
.terms-of-service-content h2 {
  color: #ff9d42;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.privacy-policy-content h2:first-child,
.terms-of-service-content h2:first-child {
  margin-top: 0;
}

.privacy-policy-content h4,
.terms-of-service-content h4 {
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.privacy-policy-content p,
.terms-of-service-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.privacy-policy-content ul,
.terms-of-service-content ul {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.privacy-policy-content ul li,
.terms-of-service-content ul li {
  margin-bottom: 0.5rem;
}

.privacy-policy-content a,
.terms-of-service-content a {
  color: #ff4fd8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-policy-content a:hover,
.terms-of-service-content a:hover {
  color: #ff9d42;
  text-decoration: underline;
}

/* Text visibility improvements for mobile and accessibility */
.text-white-75 {
  --bs-text-opacity: 1;
  color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-65 {
  --bs-text-opacity: 1;
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Override low contrast text colors for better mobile visibility */
.text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
  /* Increased from 0.5 to 0.75 */
}

/* Fix text-muted to be more visible on dark backgrounds */
.text-muted {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Ensure minimum contrast for any low opacity text */
.text-body-secondary,
.text-secondary {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Improve small text visibility */
.small,
small {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  .text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important;
    /* Even more visible on mobile */
  }

  .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
  }

  .text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
    /* Boost visibility on small screens */
  }

  /* Improve placeholder visibility on mobile */
  .search-bar ::placeholder {
    color: rgba(230, 230, 240, 0.75) !important;
  }

  /* Ensure readability of descriptive text on mobile */
  .automation-cards .automation-cards__desc {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .capabilities .feature .text-wrap p {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  /* Improve banner subtitle visibility on mobile */
  .banner .banner-content p {
    color: rgba(255, 255, 255, 0.75) !important;
  }
}

/* ==========================================================================
   14" LAPTOP OPTIMIZATION (1366x768 to 1600x900)
   Ensures all content fits properly on smaller laptop screens without scrolling
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1600px) {

  /* Reduce body padding for header */
  body {
    padding-top: 60px;
  }

  /* Container width optimization */
  .container {
    max-width: 1140px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Header adjustments */
  .site-header .navbar-brand img {
    height: 55px;
    margin-right: 24px;
  }

  .site-header .nav-link {
    font-size: 13px;
    margin-right: 0.75rem;
  }

  .site-header .login,
  .site-header .btn-gradient {
    padding: 6px 16px;
    font-size: 13px;
  }

  /* Banner/Carousel optimizations */
  .banner,
  .banner-carousel {
    margin-top: 10px;
  }

  .banner {
    padding: 2rem 0;
  }

  .carousel-slide {
    padding: 2rem 0;
    min-height: 55vh;
  }

  .banner-carousel,
  .banner-fixed-background,
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item {
    min-height: 55vh;
  }

  .banner-fixed-background {
    height: 55vh;
  }

  .banner .banner-content h1,
  .banner-carousel .banner-content h1 {
    font-size: 2.25rem;
    padding-bottom: 8px;
  }

  .banner .banner-content p,
  .banner-carousel .banner-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .btn-gradient-border {
    margin-top: 1.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 13px;
  }

  .hero-image {
    max-width: 85%;
    margin: 0 auto;
  }

  /* Info Section */
  .info-section {
    padding: 50px 0 !important;
  }

  .info-section h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }

  .info-section p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .info-section img {
    max-width: 90%;
  }

  /* Automation Cards Section */
  .automation-cards {
    padding: 3rem 0;
  }

  .automation-cards .automation-cards__intro {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }

  .automation-cards .automation-cards__title {
    font-size: 2.25rem;
  }

  .automation-cards .automation-cards__desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .automation-cards .automation-card {
    padding: 24px 20px;
  }

  .automation-cards .automation-card__title {
    font-size: 1.1rem;
  }

  .automation-cards .automation-card__desc {
    font-size: 0.9rem;
  }

  /* AI Engine Section */
  .ai-engine-section {
    padding: 60px 0;
  }

  .ai-engine-section .small-heading {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .ai-engine-section .main-heading {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .ai-engine-section .description {
    font-size: 1.1rem;
    margin-bottom: 35px;
  }

  .ai-engine-section .ai-cards .ai-card {
    padding: 40px;
  }

  .ai-engine-section .ai-cards .ai-card .icon-title h3 {
    font-size: 1.15rem;
  }

  .ai-engine-section .ai-cards .ai-card p {
    font-size: 0.9rem;
  }

  /* Impact Section */
  .impact-section {
    padding: 50px 0;
  }

  .impact-section .impact-header {
    margin-bottom: 35px;
  }

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

  .impact-section .impact-cards .impact-card {
    padding: 24px;
  }

  .impact-section .impact-cards .impact-card h3 {
    font-size: 1.1rem;
  }

  .impact-section .impact-cards .impact-card p {
    font-size: 0.85rem;
    min-height: 3rem;
  }

  .impact-section .impact-cards .impact-card .percentage {
    font-size: 28px;
  }

  /* CTA Section */
  .cta-section {
    padding: 60px 0;
  }

  .cta-section .cta-title {
    font-size: 1.75rem;
  }

  .cta-section .cta-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  /* Capabilities Section */
  .capabilities {
    padding: 60px 0;
  }

  .capabilities .cap-title {
    font-size: 1.75rem;
  }

  .capabilities .feature {
    margin-bottom: 35px;
  }

  .capabilities .feature .text-wrap h5 {
    font-size: 1.1rem;
  }

  .capabilities .feature .text-wrap p {
    font-size: 0.9rem;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 20px;
  }

  .site-footer .footer-brand img {
    max-height: 55px;
  }
}

/* Extra small 14" screens (1366x768) - tighter optimizations */
@media (min-width: 992px) and (max-width: 1400px) {
  .carousel-slide {
    min-height: 50vh;
  }

  .banner-carousel,
  .banner-fixed-background,
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item {
    min-height: 50vh;
  }

  .banner-fixed-background {
    height: 50vh;
  }

  .banner .banner-content h1,
  .banner-carousel .banner-content h1 {
    font-size: 2rem;
  }

  .hero-image {
    max-width: 80%;
  }

  .info-section {
    padding: 40px 0 !important;
  }

  .info-section h2 {
    font-size: 2rem;
  }

  .ai-engine-section {
    padding: 50px 0;
  }

  .ai-engine-section .ai-cards .ai-card {
    padding: 30px;
  }

  .impact-section {
    padding: 40px 0;
  }

  .cta-section {
    padding: 50px 0;
  }

  .capabilities {
    padding: 50px 0;
  }
}

/* Extracted from use-cases.php */
.workflow-hero-image {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.featured-badge .badge-gradient {
  background: linear-gradient(135deg, #ff4fd8, #ff9d42);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.problem-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.solution-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 79, 216, 0.3);
  border-radius: 12px;
}

.solution-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-top: 12px;
  color: #fff;
}

.solution-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}

.workflow-timeline {
  margin-top: 20px;
}

.workflow-phase {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phase-header {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.phase-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.phase-steps .step {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 120px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.phase-steps .step .step-type {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.phase-steps .step strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}

.phase-steps .step small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.phase-steps .user-task {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.phase-steps .user-task .step-type {
  color: rgba(255, 255, 255, 0.6);
}

.phase-steps .script-task {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.phase-steps .script-task .step-type {
  color: rgba(255, 255, 255, 0.6);
}

.phase-steps .ai-task {
  border: 1px solid rgba(255, 79, 216, 0.4);
  background: rgba(255, 79, 216, 0.1);
}

.phase-steps .ai-task .step-type {
  color: #ff4fd8;
}

.phase-steps .end-task {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.phase-steps .step-arrow {
  color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.benefit-number {
  font-size: 2rem;
  font-weight: 700;
}

.differentiator-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.differentiator-box:hover {
  border-color: rgba(255, 79, 216, 0.3);
}

.use-case-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 79, 216, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 79, 216, 0.2);
}

.use-case-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.use-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.use-case-tags .tag {
  background: linear-gradient(90deg, rgba(255, 157, 66, 0.15), rgba(255, 79, 216, 0.15));
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 79, 216, 0.3);
}

@media (max-width: 768px) {
  .phase-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .phase-steps .step-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
}

/* Trust Section Styles */
.trust-section {
  position: relative;
  overflow: hidden;
}

.trust-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 79, 216, 0.3);
}

.trust-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 79, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1px solid rgba(255, 79, 216, 0.2);
}

.trust-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* Patent Pending Badge in Footer */
.patent-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 157, 66, 0.1);
  border: 1px solid rgba(255, 157, 66, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ff9d42;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.patent-badge:hover {
  background: rgba(255, 157, 66, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 157, 66, 0.15);
  text-decoration: none;
  color: #fff;
}

.patent-badge i {
  margin-right: 6px;
  font-size: 0.9rem;
}