/**
 * Glowing Effect CSS
 * Animated border glow effect for grid items
 */

/* Glowing effect container */
.glow-container {
  position: relative;
}

/* Glowing effect wrapper */
.glow-effect {
  --blur: 0px;
  --spread: 40;
  --start: 0;
  --active: 0;
  --glow-border-width: 2px;
  --repeating-conic-gradient-times: 5;
  --gradient: radial-gradient(circle, #4f8cff 10%, transparent 20%),
              radial-gradient(circle at 40% 40%, #6fa3ff 5%, transparent 15%),
              radial-gradient(circle at 60% 60%, #3d7be8 10%, transparent 20%),
              radial-gradient(circle at 40% 60%, #2563eb 10%, transparent 20%),
              repeating-conic-gradient(
                from 236.84deg at 50% 50%,
                #4f8cff 0%,
                #6fa3ff calc(25% / var(--repeating-conic-gradient-times)),
                #3d7be8 calc(50% / var(--repeating-conic-gradient-times)),
                #2563eb calc(75% / var(--repeating-conic-gradient-times)),
                #4f8cff calc(100% / var(--repeating-conic-gradient-times))
              );

  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.glow-effect .glow-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.glow-effect .glow-inner::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--glow-border-width));
  border-radius: inherit;
  border: var(--glow-border-width) solid transparent;
  background: var(--gradient);
  background-attachment: fixed;
  opacity: var(--active);
  transition: opacity 0.3s ease;
  mask-clip: padding-box, border-box;
  -webkit-mask-clip: padding-box, border-box;
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(#0000, #0000),
              conic-gradient(from calc((var(--start) - var(--spread)) * 1deg),
                            transparent 0deg,
                            #fff,
                            transparent calc(var(--spread) * 2deg));
  -webkit-mask-image: linear-gradient(#0000, #0000),
                      conic-gradient(from calc((var(--start) - var(--spread)) * 1deg),
                                    transparent 0deg,
                                    #fff,
                                    transparent calc(var(--spread) * 2deg));
}

/* Static border fallback */
.glow-border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(79, 140, 255, 0.2);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Hover state enhancement */
.glow-container:hover .glow-border {
  border-color: rgba(79, 140, 255, 0.4);
}

/* Alternative: Simple CSS-only glow animation */
@keyframes glowRotate {
  0% {
    --start: 0;
  }
  100% {
    --start: 360;
  }
}

/* Simpler animated border glow using pseudo-elements */
.glow-card {
  position: relative;
  background: var(--tj-color-theme-bg, #191a18);
  border-radius: 20px;
  overflow: hidden;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    transparent 0deg,
    #4f8cff 30deg,
    #6fa3ff 60deg,
    #3d7be8 90deg,
    transparent 120deg,
    transparent 360deg
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: rotateGlow 4s linear infinite paused;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(20px - 2px);
  background: inherit;
  z-index: -1;
}

.glow-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes rotateGlow {
  0% {
    --glow-angle: 0deg;
  }
  100% {
    --glow-angle: 360deg;
  }
}

/* For browsers that don't support @property */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
  .glow-card::before {
    background: linear-gradient(45deg, #4f8cff, #6fa3ff, #3d7be8, #2563eb);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite paused;
  }

  @keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
}

/* CSS Custom Property for animation */
@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Service item glow effect */
.service-item-glow {
  position: relative;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.service-item-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    var(--glow-angle, 135deg),
    transparent 0%,
    rgba(79, 140, 255, 0.5) 25%,
    rgba(111, 163, 255, 0.8) 50%,
    rgba(79, 140, 255, 0.5) 75%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-item-glow:hover::before {
  opacity: 1;
  animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
  0% { --glow-angle: 0deg; }
  100% { --glow-angle: 360deg; }
}

/* Animated gradient border */
.animated-border {
  position: relative;
  border-radius: 20px;
  background: var(--tj-color-theme-bg, #191a18);
}

.animated-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 25%,
    #4f8cff 50%,
    transparent 75%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: rotateBorder 4s linear infinite paused;
}

.animated-border:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorder {
  to {
    --border-angle: 360deg;
  }
}

/* Apply to h3 service items */
.h3-service-item {
  position: relative;
  overflow: visible;
}

.h3-service-item .service-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

/* Glowing effect for service cards */
.h3-service-item .service-img-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 20%,
    #4f8cff 35%,
    #6fa3ff 50%,
    #4f8cff 65%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  animation: rotateBorder 3s linear infinite paused;
}

.h3-service-item:hover .service-img-wrap::before {
  opacity: 1;
  animation-play-state: running;
}

.h3-service-item .service-img-wrap::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(20px - 2px);
  background: var(--tj-color-theme-bg, #191a18);
  z-index: 1;
}

.h3-service-item .service-img-wrap > * {
  position: relative;
  z-index: 2;
}

/* ================================
   Service Grid Boxes with Glow
   ================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .services-grid .service-box:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(14rem, auto));
    gap: 16px;
  }

  /* First row */
  .services-grid .service-box:nth-child(1) {
    grid-area: 1 / 1 / 2 / 5;
  }
  .services-grid .service-box:nth-child(2) {
    grid-area: 1 / 5 / 2 / 8;
  }
  .services-grid .service-box:nth-child(3) {
    grid-area: 1 / 8 / 2 / 13;
  }

  /* Second row */
  .services-grid .service-box:nth-child(4) {
    grid-area: 2 / 1 / 3 / 5;
  }
  .services-grid .service-box:nth-child(5) {
    grid-area: 2 / 5 / 3 / 9;
  }
  .services-grid .service-box:nth-child(6) {
    grid-area: 2 / 9 / 3 / 13;
  }
}

/* Service Box Styling */
.service-box {
  position: relative;
  min-height: 14rem;
  list-style: none;
}

.service-box-outer {
  position: relative;
  height: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(79, 140, 255, 0.15);
  padding: 0.5rem;
  background: var(--tj-color-theme-bg, #191a18);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-box-outer {
    border-radius: 1.5rem;
    padding: 0.75rem;
  }
}

/* Glowing Border Effect - Yellow Theme */
.service-box-outer:hover {
  border-color: #4f8cff;
  box-shadow:
    0 0 10px rgba(79, 140, 255, 0.3),
    0 0 20px rgba(79, 140, 255, 0.2),
    0 0 30px rgba(79, 140, 255, 0.1),
    inset 0 0 10px rgba(79, 140, 255, 0.05);
}

/* Inner Content Box */
.service-box-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(79, 140, 255, 0.1);
  background: var(--tj-color-theme-bg, #191a18);
  padding: 1.5rem;
  box-shadow: 0px 0px 27px 0px rgba(45, 45, 45, 0.2);
}

@media (min-width: 768px) {
  .service-box-inner {
    padding: 1.5rem;
  }
}

/* Service Box Content */
.service-box-content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Icon Container */
.service-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(79, 140, 255, 0.2);
  background: rgba(79, 140, 255, 0.05);
  color: #4f8cff;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.service-box:hover .service-box-icon {
  background: rgba(79, 140, 255, 0.1);
  border-color: rgba(79, 140, 255, 0.4);
  transform: scale(1.05);
}

/* Title & Description */
.service-box-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-box-title {
  padding-top: 0.125rem;
  font-size: 1.25rem;
  line-height: 1.375rem;
  font-weight: 600;
  font-family: var(--tj-ff-heading, 'Manrope', sans-serif);
  letter-spacing: -0.04em;
  color: var(--tj-color-heading-primary, #f6f7f7);
  margin: 0;
  text-wrap: balance;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .service-box-title {
    font-size: 1.5rem;
    line-height: 1.875rem;
  }
}

.service-box:hover .service-box-title {
  color: #4f8cff;
}

.service-box-desc {
  font-family: var(--tj-ff-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  line-height: 1.125rem;
  color: var(--tj-color-text-body, #bcbdb9);
  margin: 0;
}

@media (min-width: 768px) {
  .service-box-desc {
    font-size: 1rem;
    line-height: 1.375rem;
  }
}

/* Learn More Link */
.service-box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4f8cff;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.service-box-link i {
  transition: transform 0.3s ease;
}

.service-box:hover .service-box-link {
  gap: 0.75rem;
}

.service-box:hover .service-box-link i {
  transform: translateX(4px);
}

/* ================================
   Floating IT Icons in Hero
   ================================ */

.hero-floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: floatUpDown 4s ease-in-out infinite;
}

.floating-icon:nth-child(1) { animation-delay: 0s; }
.floating-icon:nth-child(2) { animation-delay: 0.5s; }
.floating-icon:nth-child(3) { animation-delay: 1s; }
.floating-icon:nth-child(4) { animation-delay: 1.5s; }
.floating-icon:nth-child(5) { animation-delay: 2s; }
.floating-icon:nth-child(6) { animation-delay: 2.5s; }

.floating-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(79, 140, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 140, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(79, 140, 255, 0.3);
  transition: all 0.3s ease;
}

.floating-icon-circle i {
  font-size: 28px;
  color: #4f8cff;
}

.floating-icon-label {
  font-family: var(--tj-ff-body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Positions for floating icons */
.floating-icon.icon-server {
  left: 8%;
  top: 20%;
}

.floating-icon.icon-cloud {
  left: 5%;
  top: 55%;
}

.floating-icon.icon-network {
  right: 8%;
  top: 18%;
}

.floating-icon.icon-database {
  right: 5%;
  top: 50%;
}

.floating-icon.icon-security {
  left: 15%;
  top: 75%;
}

.floating-icon.icon-code {
  right: 12%;
  top: 72%;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
  }
  50% {
    transform: translateY(-5px) rotate(0deg);
  }
  75% {
    transform: translateY(-20px) rotate(-2deg);
  }
}

/* Responsive - hide some icons on smaller screens */
@media (max-width: 1199px) {
  .floating-icon.icon-security,
  .floating-icon.icon-code {
    display: none;
  }

  .floating-icon-circle {
    width: 60px;
    height: 60px;
  }

  .floating-icon-circle i {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .floating-icon.icon-cloud,
  .floating-icon.icon-database {
    display: none;
  }

  .floating-icon.icon-server {
    left: 3%;
    top: 25%;
  }

  .floating-icon.icon-network {
    right: 3%;
    top: 25%;
  }
}

@media (max-width: 767px) {
  .hero-floating-icons {
    display: none;
  }
}

/* Glow pulse animation for icons */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(79, 140, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(79, 140, 255, 0.5);
  }
}

.floating-icon-circle {
  animation: glowPulse 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) .floating-icon-circle { animation-delay: 0s; }
.floating-icon:nth-child(2) .floating-icon-circle { animation-delay: 0.5s; }
.floating-icon:nth-child(3) .floating-icon-circle { animation-delay: 1s; }
.floating-icon:nth-child(4) .floating-icon-circle { animation-delay: 1.5s; }
.floating-icon:nth-child(5) .floating-icon-circle { animation-delay: 2s; }
.floating-icon:nth-child(6) .floating-icon-circle { animation-delay: 2.5s; }

/* ================================
   3D Spline Hero Section with Robot
   ================================ */

.spline-hero-section {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  padding: 140px 0 30px;
}

/* Hide Spline Watermark - Only the logo link */
spline-viewer::part(logo) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Hero Card Container - Box Style */
.hero-card {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(79, 140, 255, 0.2);
  border-radius: 1.5rem;
  overflow: hidden;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(79, 140, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-card-inner {
  display: flex;
  flex-direction: row;
  height: 100%;
  min-height: 500px;
}

/* Text Side */
.hero-text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
  position: relative;
  z-index: 10;
}

/* Title Styles */
.hero-main-title {
  font-family: var(--tj-ff-heading, 'Manrope', sans-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(to bottom, #f5f5f5 0%, #a3a3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.hero-description {
  font-family: var(--tj-ff-body, 'Inter', sans-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  max-width: 480px;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--tj-ff-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn-outline:hover {
  background: #ffffff;
  color: #0d0d18;
  border-color: #ffffff;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--tj-ff-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0d0d18;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.hero-btn-primary .btn-icon-plus {
  color: #4f8cff;
}

/* Yellow Button Style */
.hero-btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--tj-ff-body, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #0d0d18;
  background: #4f8cff;
  border: 2px solid #4f8cff;
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.3);
}

.hero-btn-yellow:hover {
  background: transparent;
  color: #4f8cff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 140, 255, 0.4);
}

.hero-btn-yellow i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.hero-btn-yellow:hover i {
  transform: translateX(4px);
}

/* Spline Side (Robot) */
.hero-spline-side {
  flex: 1;
  position: relative;
  min-height: 500px;
}

.hero-spline-side spline-viewer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Cover the watermark area completely */
.hero-spline-side::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
  pointer-events: none;
  z-index: 100;
}

/* Additional watermark hiding with overlay */
.hero-spline-side::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 60px;
  background: rgba(0, 0, 0, 0.95);
  pointer-events: none;
  z-index: 101;
  border-radius: 10px 0 0 0;
}

/* Social Links */
.hero-social-links {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-social-links .social-label {
  font-family: var(--tj-ff-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.hero-social-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-social-links ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-social-links ul li a:hover {
  background: #4f8cff;
  color: #0d0d18;
  transform: scale(1.1);
  border-color: #4f8cff;
}

/* ================================
   Responsive Design
   ================================ */

/* Tablet */
@media (max-width: 991px) {
  .spline-hero-section {
    padding: 120px 0 30px;
  }

  .hero-card {
    min-height: auto;
    height: auto;
  }

  .hero-card-inner {
    flex-direction: column;
    min-height: auto;
  }

  .hero-text-side {
    padding: 2rem;
    order: 1;
    flex: none;
  }

  .hero-spline-side {
    order: 2;
    min-height: 400px;
    flex: none;
  }

  .hero-spline-side::after {
    height: 60px;
  }

  .hero-spline-side::before {
    width: 150px;
    height: 50px;
  }

  .hero-main-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-social-links {
    display: none;
  }

  .hero-btn-yellow {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .spline-hero-section {
    padding: 100px 15px 20px;
  }

  .hero-card {
    border-radius: 1rem;
  }

  .hero-text-side {
    padding: 1.5rem;
  }

  .hero-main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-spline-side {
    min-height: 320px;
  }

  .hero-spline-side::before {
    width: 120px;
    height: 45px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-yellow {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .spline-hero-section {
    padding: 90px 10px 15px;
  }

  .hero-text-side {
    padding: 1.25rem;
  }

  .hero-main-title {
    font-size: 1.5rem;
  }

  .hero-spline-side {
    min-height: 280px;
  }

  .hero-spline-side::before {
    width: 100px;
    height: 40px;
  }
}

/* ================================
   Features Section Fix (Below Hero)
   ================================ */

.tj-features-section {
  position: relative;
  z-index: 5;
  margin-top: 109px;
  padding: 20px 0;
}

.tj-features-section .tj_features_wrap {
  position: relative;
  z-index: 5;
}

.tj-features-section .feature_item {
  position: relative;
  z-index: 5;
  background: rgba(25, 26, 24, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ================================
   Text Logo Styles
   ================================ */

/* Ensure site logo is visible */
.site_logo,
.footer-logo,
.hamburger_logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.site_logo .logo.text-logo {
  display: flex !important;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  max-width: none !important;
  width: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.site_logo .text-logo .logo-icon {
  font-size: 2.25rem;
  color: #4f8cff;
  line-height: 1;
  display: inline-block;
}

.site_logo .text-logo .logo-text {
  font-family: var(--tj-ff-heading, 'Manrope', sans-serif);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
}

.site_logo .text-logo .text-yellow {
  color: #4f8cff;
}

.site_logo .text-logo .text-white {
  color: #ffffff;
}

/* Sticky header text logo adjustments */
.header-area.is-sticky .site_logo .text-logo .logo-icon {
  font-size: 1.875rem;
}

.header-area.is-sticky .site_logo .text-logo .logo-text {
  font-size: 1.375rem;
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .site_logo .text-logo .logo-icon {
    font-size: 1.875rem;
  }

  .site_logo .text-logo .logo-text {
    font-size: 1.375rem;
  }
}

@media (max-width: 480px) {
  .site_logo .text-logo .logo-icon {
    font-size: 1.5rem;
  }

  .site_logo .text-logo .logo-text {
    font-size: 1.125rem;
  }
}

/* Hamburger menu logo */
.hamburger_logo .mobile_logo.text-logo {
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.hamburger_logo .text-logo .logo-icon {
  font-size: 1.75rem;
  color: #4f8cff;
}

.hamburger_logo .text-logo .logo-text {
  font-family: var(--tj-ff-heading, 'Manrope', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.hamburger_logo .text-logo .text-yellow {
  color: #4f8cff;
}

.hamburger_logo .text-logo .text-white {
  color: #ffffff;
}

/* Logo styles (Header & Footer) */
.site_logo .logo,
.footer-logo a,
.hamburger_logo a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.site_logo .logo-icon,
.footer-logo .logo-icon,
.hamburger_logo .logo-icon {
  font-size: 2rem;
  color: #4f8cff;
}

.site_logo .logo-text,
.footer-logo .logo-text,
.hamburger_logo .logo-text {
  font-family: var(--tj-ff-heading, 'Manrope', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.site_logo .text-yellow,
.footer-logo .text-yellow,
.hamburger_logo .text-yellow {
  color: #4f8cff;
}

.site_logo .text-white,
.footer-logo .text-white,
.hamburger_logo .text-white {
  color: #ffffff;
}

.hamburger_logo .logo-icon {
  font-size: 2rem;
}

.hamburger_logo .logo-text {
  font-size: 1.5rem;
}

/* Mobile Header Logo - Same as Footer */
@media (max-width: 991px) {
  .site_logo .logo {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }

  .site_logo .logo-icon {
    font-size: 2rem;
  }

  .site_logo .logo-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .site_logo .logo-icon,
  .hamburger_logo .logo-icon {
    font-size: 2rem;
  }

  .site_logo .logo-text,
  .hamburger_logo .logo-text {
    font-size: 1.5rem;
  }
}

/* ================================
   Solutions Page - Equal Height Boxes
   ================================ */

/* Solutions grid equal height */
.section-gap-bottom .row.rg-30 > [class*="col-"] {
  display: flex;
}

.section-gap-bottom .row.rg-30 .service-item.service-item-2 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-gap-bottom .row.rg-30 .service-item.service-item-2 .service-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-gap-bottom .row.rg-30 .service-item.service-item-2 .service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section-gap-bottom .row.rg-30 .service-item.service-item-2 .service-content .desc {
  flex: 1;
}

/* ================================
   Form Notification
   ================================ */

.form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 400px;
}

.form-notification.show {
  transform: translateX(0);
}

.form-notification.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.form-notification.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.form-notification .notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-notification .notification-content i {
  font-size: 1.2rem;
}

.form-notification .notification-content span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ================================
   Contact Page - Clickable Icons
   ================================ */

a.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.contact-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.4);
}

a.contact-icon:hover i {
  color: #4f8cff;
}

/* ================================
   Floating WhatsApp Button
   ================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* Pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 90px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ================================
   Contact Items Equal Height
   ================================ */

.tj-contact-area .row.row-gap-4,
.row.rg-30:has(.contact-item.style-2) {
  display: flex;
  flex-wrap: wrap;
}

.tj-contact-area .row.row-gap-4 > [class*="col-"],
.row.rg-30:has(.contact-item.style-2) > [class*="col-"] {
  display: flex;
}

.tj-contact-area .contact-item.style-2,
.row.rg-30 .contact-item.style-2 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 280px;
}

.tj-contact-area .contact-item.style-2 .contact-list {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Why Choose Solutions boxes equal height */
.row.rg-30 .contact-item.style-2 p {
  flex-grow: 1;
}

/* ================================
   Unified Header Style
   ================================ */

/* Make the absolute header always fixed at top with same style */
.header-area.header-absolute {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99 !important;
  background: rgba(25, 26, 24, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide the header-top bar for header-1 to match other pages */
.header-area.header-1.header-absolute .header-top {
  display: none !important;
}

/* Hide the duplicate sticky header since we only need one */
.header-area.header-duplicate.header-sticky {
  display: none !important;
}

/* ================================
   About Section - Image & Counters Alignment
   ================================ */

/* Make About section columns equal height */
.h3-about-section .row.rg-30 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.h3-about-section .row.rg-30 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Image container takes remaining space */
.h3-about-section .col-lg-6:first-child {
  display: flex;
  flex-direction: column;
}

.h3-about-section .h3_about_img {
  flex: 1;
  display: flex;
  min-height: 400px;
}

.h3-about-section .h3_about_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Right content alignment */
.h3-about-section .about_right_content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Counter boxes equal height */
.h3-about-section .about_right_content > .row.rg-30 {
  margin-top: auto;
}

.h3-about-section .h3_countup {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
}

/* ================================
   Contact Page - Location Box Centered
   ================================ */

.tj-contact-area .contact-item.style-2 .contact-list {
  text-align: center;
}

.tj-contact-area .contact-item.style-2 .contact-list li {
  justify-content: center;
}

/* ================================
   Header Logo Styling
   ================================ */

/* Make header logo bigger and reduce padding */
.header-area .site_logo .logo img {
  height: 70px !important;
}

.header-area .header-bottom {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.header-area .header-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Hamburger menu logo */
.hamburger_logo .mobile_logo img {
  height: 45px !important;
}
