@font-face {
  font-family: "Google Sans";
  src: url("../externalcdn/Google_Sans/static/GoogleSans-Regular.ttf")
    format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Google Sans";
  src: url("../externalcdn/Google_Sans/static/GoogleSans-Medium.ttf")
    format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Google Sans";
  src: url("../externalcdn/Google_Sans/static/GoogleSans-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Google Sans";
  src: url("../externalcdn/Google_Sans/static/GoogleSans-Bold.ttf")
    format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Sacramento";
  src: url("../externalcdn/Sacramento/Sacramento-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

.directornote {
  font-family: "Sacramento", cursive;
}
body {
  font-family: "Google Sans", sans-serif;
}

.hero-bg {
  background-image: url("../assets/banner-bg.jpg");
  background-size: cover;
  background-position: center;
  animation: bgMove 15s linear infinite alternate;
  transform: scale(1.1);
}

@keyframes bgMove {
  0% {
    background-position: center top;
    transform: scale(1.1);
  }
  50% {
    background-position: center center;
    transform: scale(1.15);
  }
  100% {
    background-position: center bottom;
    transform: scale(1.1);
  }
}
.tag {
  @apply bg-white/10 backdrop-blur-md rounded-xl p-3 text-center border border-white/10;
}

.btn-orange {
  @apply mt-8 w-fit bg-orange-500 hover:bg-orange-600 px-6 py-3 rounded-xl font-medium shadow-lg transition duration-300;
}

.btn-blue {
  @apply mt-8 w-fit bg-blue-500 hover:bg-blue-600 px-6 py-3 rounded-xl font-medium shadow-lg transition duration-300;
}

.btn-purple {
  @apply mt-8 w-fit bg-purple-500 hover:bg-purple-600 px-6 py-3 rounded-xl font-medium shadow-lg transition duration-300;
}

.btn-yellow {
  @apply mt-8 w-fit bg-yellow-400 hover:bg-yellow-500 text-black px-6 py-3 rounded-xl font-medium shadow-lg transition duration-300;
}
.logo-box {
  @apply bg-white/5 border border-white/10 rounded-xl py-5 text-sm font-semibold text-gray-300
  backdrop-blur-md hover:bg-white/10 transition duration-300 hover:-translate-y-1;
}
.animated-gradient-text {
  background: linear-gradient(270deg, #60a5fa, #a78bfa, #ec4899, #60a5fa);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 2s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* ===== CARD BASE ===== */
.service-card .card {
  height: auto;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.service-card .card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.service-card .card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.7s ease;
}

.service-card .card:hover img {
  transform: scale(1.05);
}

/* ===== PERFECT OVERLAY (MOST IMPORTANT) ===== */
.service-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 15, 35, 0.98) 0%,
    rgba(6, 15, 35, 0.92) 25%,
    rgba(6, 15, 35, 0.75) 45%,
    rgba(6, 15, 35, 0.45) 65%,
    rgba(6, 15, 35, 0.15) 85%,
    transparent 100%
  );
}

/* VARIANTS */
.service-card .blue {
  background: linear-gradient(
    90deg,
    rgba(3, 20, 60, 0.98),
    rgba(3, 20, 60, 0.2)
  );
}

.service-card .purple {
  background: linear-gradient(
    90deg,
    rgba(30, 0, 50, 0.98),
    rgba(30, 0, 50, 0.2)
  );
}

.service-card .teal {
  background: linear-gradient(
    90deg,
    rgba(3, 35, 40, 0.98),
    rgba(3, 35, 40, 0.2)
  );
}

/* CONTENT */
.service-card .content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

/* ICON */
.service-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  font-size: 20px;
}

/* TITLE */
.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 16px;
  line-height: 1.2;
  margin-bottom: 8px;
}

/* LINE */
.service-card .line {
  width: 48px;
  height: 2px;
  margin-top: 10px;
}

/* TEXT */
.service-card .desc {
  font-size: 16px;
  color: #d1d5db;
  margin-top: 12px;
  max-width: 400px;
}

/* TAGS */

/* BUTTON */
.service-card .btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
}

.service-card .tags {
  display: flex;
  /* grid-template-columns: repeat(2, 1fr);  */
  gap: 8px;
  margin-top: 16px;
}

.service-card .tag-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-direction: column;
  /* background: #fb923c; */
  border: 1px solid #fb923c6b;
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  color: #ffffff;
}

/* ICON */
.service-card .tag-item i {
  font-size: 15px;
  opacity: 0.8;
}

.service-card .tag-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  transition: 0.3s;
}

/* DESKTOP (exact 4 inline like image) */
@media (min-width: 768px) {
  .service-card .tags {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* DESKTOP (exact 4 inline like image) */
@media (min-width: 768px) {
  .service-card .tags {
    grid-template-columns: repeat(4, 1fr);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll {
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollReverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.animate-scroll {
  animation: scroll 20s linear infinite;
}

.animate-scroll-reverse {
  animation: scrollReverse 20s linear infinite;
}
.mega-menu-group:hover .mega-menu-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* mobile menu transition */
.mobile-menu-open {
  max-height: 100vh;
  opacity: 1;
}
/* prevent body scroll when mobile menu open */
body.no-scroll {
  overflow: hidden;
}
/* contact form */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

.animate__animated {
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

.animate__fadeInRight {
  animation-name: fadeInRight;
}

.animate__fadeOutRight {
  animation-name: fadeOutRight;
}
/* Active menu link styles */
.nav-link.active,
header nav a.active,
#mobileMenu a.active {
  color: #fd8d00 !important;
  border-bottom: 2px solid #fd8d00 !important;
}

/* Desktop navigation links transition */
header nav a {
  transition: color 0.3s ease;
  text-decoration: none;
}

header nav a:hover {
  color: #fd8d00;
}

/* Solutions button active state */
.mega-menu-group > button.text-\[#fd8d00\] {
  color: #fd8d00 !important;
}

/* Mobile Solutions button active state */
#mobileSolutionsBtn.text-\[#fd8d00\] {
  color: #fd8d00 !important;
}

/* Prevent body scroll when mobile menu is open */
body.overflow-hidden {
  overflow: hidden;
}

/* Chevron rotation animation */
#mobileChevron.rotate-180 {
  transform: rotate(180deg);
}

/* Transition for smooth animations */
#mobileSolutionsPanel,
#mobileChevron {
  transition: all 0.3s ease;
}
/* Additional custom styles for better compatibility - Back to Top button is Tailwind powered via JS added element */
html {
  scroll-behavior: smooth;
}
/* Ensure any existing styles don't conflict */
.back-to-top-tailwind {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.back-to-top-tailwind:hover {
  transform: translateY(-5px) scale(1.05);
}
.back-to-top-tailwind:active {
  transform: translateY(2px) scale(0.98);
}

/* mobile mockup screen */
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.phone-wrapper {
  position: relative;
}
.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 650px;
  margin: auto;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Bottom Line */
.phone-mockup::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}
.screen-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  position: relative;
  background: #fff;
}
.screen-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.screen-slider img.active {
  opacity: 1;
}
/* Dots */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.slider-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
}
.slider-dots span.active {
  width: 28px;
  background: white;
}
.app-content {
  text-align: center;
  margin-top: 12px;
}
.app-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}
.app-content p {
  color: #64748b;
  
}
@media (max-width: 1024px) {
  .mockup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  .phone-mockup {
    max-width: 260px;
    height: 540px;
  }
}



    /* phone wrapper with floating effect */
    .phone-wrapper {
      flex: 1;
      min-width: 310px;
      max-width: 370px;
      
      backdrop-filter: blur(16px);
      border-radius: 3.2rem;
      padding: 5px;
     
      transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.2);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .phone-wrapper:hover {
      transform: translateY(-10px) scale(1.01);
 
      
    }

    /* hyper-realistic phone bezel */
    .phone-mockup {
      background: #0b0e14;
      border-radius: 2.8rem;
      padding: 0.7rem 0.55rem;
      box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px rgba(255, 255, 255, 0.07);
      position: relative;
      margin-bottom: 1.6rem;
      transition: all 0.2s;
    }

    /* screen area — actual phone aspect ratio (edge to edge inside frame) */
    .screen-slider {
      position: relative;
      background: #000000;
      border-radius: 2rem;
      overflow: hidden;
      aspect-ratio: 9 / 19.5;
      width: 100%;
      box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    /* IMAGES: ABSOLUTE FILL — ZERO GAPS, ZERO LETTERBOX, COVERS ENTIRE SCREEN REAL ESTATE */
    .screen-slider img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      opacity: 0;
      transition: opacity 0.4s cubic-bezier(0.2, 0.85, 0.4, 1);
      pointer-events: none;
      border-radius: 30px;
      will-change: opacity;
      image-rendering: high-quality;
    }

    .screen-slider img.active {
      opacity: 1;
      z-index: 5;
    }

    /* dynamic island / notch effect (modern pill) */
    

    /* elegant dot navigation — pill style, blends with screen */
    .slider-dots {
      position: absolute;
      bottom: 12px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 9px;
      z-index: 30;
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(14px);
      padding: 5px 16px;
      border-radius: 50px;
      border: 0.5px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      pointer-events: auto;
    }

    .slider-dots span {
      width: 7px;
      height: 7px;
      background-color: rgba(235, 235, 255, 0.7);
      border-radius: 20px;
      cursor: pointer;
      transition: all 0.25s ease;
      box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    }

    .slider-dots span.active {
      background: #ffffff;
      width: 26px;
      border-radius: 20px;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    }

    /* app meta content — refined glassmorphism */
    .app-content {
      text-align: center;
      padding: 0.7rem 0.3rem 0rem;
    }

    .app-content h3 {
     font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(125deg, #eef2ff, #b9c7d9);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #041d4d;
    }

    .app-content p {
      color: #5d5d5d;
      font-weight: 500;
      font-size: 12px;
   
      backdrop-filter: blur(4px);
      display: inline-block;
      padding: 0.3rem 1.2rem;
      border-radius: 40px;
      letter-spacing: 0.2px;
      border: 0.5px solid rgba(255,255,255,0.1);
    }

    /* responsive refinements */
    @media (max-width: 750px) {
    
      .mockup-grid {
        gap: 2rem;
      }
      .phone-wrapper {
        min-width: 280px;
      }
      .slider-dots {
        gap: 7px;
        bottom: 10px;
        padding: 4px 12px;
      }
      .slider-dots span.active {
        width: 20px;
      }
      .phone-mockup::after {
        width: 90px;
        height: 28px;
        top: 14px;
      }
    }

    /* smooth hover for dots */
    .slider-dots span:hover {
      background-color: #fff;
      transform: scale(1.2);
    }

    /* extra shine effect on screen */
    .screen-slider::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
      pointer-events: none;
      z-index: 12;
      border-radius: inherit;
    }
