/* ---------------------------------------
    Services & Technology Page Styles
    Reciklirani elementi iz postojeće teme
   ------------------------------------ */

/* CSS Variables - koristimo postojeće iz teme */
:root {
  --services-primary-color: #f39222;
  --services-primary-gradient: linear-gradient(
    135deg,
    #f69320 0%,
    #e4b50d 100%
  );
  --services-secondary-color: #4cc9f0;
  --services-dark-bg: #070b1640;
  --services-card-bg: rgba(30, 39, 86, 0.6);
  --services-text-primary: #ffffff;
  --services-text-secondary: #94a3b8;
  --services-border-color: rgba(255, 255, 255, 0.1);
  --slm-border: rgba(255, 255, 255, 0.08);
    --slm-border-hover: rgba(255, 255, 255, 0.15);
}

/* Hero Section - koristimo postojeće klase */
.services-technology-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--services-dark-bg) 0%,
    #0b1026 25%,
    var(--services-dark-bg) 50%
  );
  overflow: hidden;
}

.services-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.services-hero-content {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 60px;
  align-items: center;
  min-height: 80vh;
}

/* Hero Text Styles - adaptirano iz postojećih .page__title */
.services-hero-text h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.500vw !important;
  font-weight: 700;
  line-height: 1.2em !important;
  color: var(--services-text-primary);
  margin-bottom: 20px;
  white-space: nowrap;
  overflow: visible;
}

@media (max-width: 1920px) {
  .services-hero-text h1 {
    font-size: 64px !important;
    line-height: 1.2em !important;
  }
}

@media (max-width: 768px) {
  .services-hero-text h1 {
    white-space: normal;
    line-height: 1.2em !important;
    font-size: 38px !important;
  }
}

.services-hero-title-gradient {
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--services-secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-hero-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 2.083vw !important;
  font-weight: 200;
  line-height: 1.2em !important;
  color: var(--services-text-secondary);
  margin-bottom: 30px;
  display: inline-block;
}

@media (max-width: 1920px) {
  .services-hero-subtitle {
    font-size: 2.5rem !important;
    line-height: 1.2em !important;
  }
}

@media (max-width: 1440px) {
  .services-hero-subtitle {
    font-size: 1.8125rem !important;
    line-height: 1.03448em !important;
  }
}

.services-hero-accent {
  background: var(--services-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  text-shadow: none;
}

.services-hero-description {
  font-family: "Hind", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--services-text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

/* Badge - koristimo postojeći stil */
.services-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--services-border-color);
  border-radius: 50px;
  margin-bottom: 30px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.services-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--services-primary-gradient);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.services-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--services-text-secondary);
}

/* Buttons - adaptirano iz postojećih button stilova */
.services-hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.services-btn-primary {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.21429em;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 30px 65px;
  margin: 20px 0;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-out;
  color: #ffffff !important;
  background: var(--services-primary-gradient);
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  text-decoration: none;
}

.services-btn-primary:before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: transparent;
  opacity: 1;
  transition: all 0.5s ease-out;
  z-index: -1;
}

.services-btn-primary:hover {
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.services-btn-primary:hover:before {
  opacity: 0;
}

.services-btn-secondary {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.21429em;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 30px 65px;
  margin: 20px 0;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-out;
  color: #ffffff !important;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  text-decoration: none;
}

.services-btn-secondary:before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--services-primary-gradient);
  opacity: 0;
  transition: all 0.5s ease-out;
  z-index: -1;
}

.services-btn-secondary:hover {
  border: 1px solid transparent;
}

.services-btn-secondary:hover:before {
  opacity: 1;
}

.services-btn-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.services-btn-icon-small {
  margin-left: 8px;
  transition: transform 0.3s ease;
  position: relative;
  top: -1px;
}

.services-btn-primary:hover .services-btn-icon {
  transform: translateX(4px);
}

.services-btn-secondary:hover .services-btn-icon-small {
  transform: translateY(4px);
}

/* Hero Chip Badges */
.services-hero-chips {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.services-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0px 16px;
    border: 1px solid var(--services-border-color);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #94a3b8;
    -webkit-text-fill-color: #94a3b8;
    -webkit-background-clip: unset;
    background-clip: unset;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
}

.services-hero-chip:hover {
    border-color: var(--services-primary-color);
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: rgba(246, 147, 32, 0.1);
    box-shadow: 0 0 15px rgba(246, 147, 32, 0.15), inset 0 0 15px rgba(246, 147, 32, 0.05);
    transform: translateY(-2px);
}

.services-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--services-primary-color);
    flex-shrink: 0;
    transition: box-shadow 0.4s ease;
}

.services-hero-chip:hover .services-chip-dot {
    box-shadow: 0 0 8px rgba(246, 147, 32, 0.6);
}

.services-chip-text {
    white-space: nowrap;
    color: #94a3b8 !important;
}

.services-hero-chip:hover .services-chip-text {
    color: #ffffff !important;
}

.services-chip-icon {
    font-size: 0.55rem;
    color: #94a3b8 !important;
    transition: all 0.4s ease;
}

.services-hero-chip:hover .services-chip-icon {
    transform: translateY(2px);
    opacity: 1;
    color: var(--services-primary-color);
}

/* Stats Grid - koristimo grid sistem iz teme */
.services-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid var(--services-border-color);
}

.services-stat-card {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--services-border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.services-stat-card:hover {
  border-color: var(--services-primary-color);
  transform: translateY(-5px);
}

.services-stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 43, 0.2);
  border: 1px solid rgba(255, 107, 43, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: all 0.3s ease;
}

.services-stat-card:hover .services-stat-icon {
  background: rgba(255, 107, 43, 0.4);
}

.services-stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--services-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-stat-label {
  font-size: 0.8rem;
  color: var(--services-text-secondary);
  margin-top: 8px;
}

/* Hero Visual - Orbit Animation */
.services-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.services-orbit-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-orbit-ring {
  position: absolute;
  border: 1px solid var(--services-border-color);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.services-orbit-ring-1 {
  width: 100%;
  height: 100%;
  animation: orbit 20s linear infinite;
}

.services-orbit-ring-2 {
  width: 75%;
  height: 75%;
  animation: orbit 15s linear infinite reverse;
}

.services-orbit-ring-3 {
  width: 50%;
  height: 50%;
  border-color: rgba(255, 107, 43, 0.3);
  animation: orbit 10s linear infinite;
}

.services-astronaut {
  position: relative;
  width: 200px;
  height: 200px;
  animation: float 6s ease-in-out infinite;
  z-index: 10;
}

/* Desktop - povećani astronaut */
@media (min-width: 1025px) {
  .services-astronaut {
    width: 280px;
    height: 280px;
  }
}

/* Large Desktop - još veći astronaut */
@media (min-width: 1440px) {
  .services-astronaut {
    width: 350px;
    height: 350px;
  }
}

/* Load More Button - Uses homepage__btn moon-btn classes */
.services-load-more-container {
  text-align: center;
  margin-top: 60px;
}

.services-load-more-count {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 500;
}

.services-load-more.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.services-load-more.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Fade in animation for loaded services */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-item.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}
@media (min-width: 1921px) {
  .services-astronaut {
    width: 400px;
    height: 400px;
  }
}

/* 4K Desktop - 2560px+ */
@media (min-width: 1440px) and (max-width: 2560px) {
  .services-orbit-container {
    width: 500px;
    height: 500px;
  }

  .services-astronaut {
    width: 500px;
    height: 500px;
  }

  .services-float-card {
    font-size: 1rem;
    padding: 20px;
    min-width: 250px;
  }

  .services-float-card-1 {
    top: -40px;
    right: -30px;
  }

  .services-float-card-2 {
    bottom: 60px;
    left: -30px;
  }

  .services-float-card-3 {
    top: 180px;
    left: -150px;
  }
}

.services-astronaut-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(76, 201, 240, 0.3));
}

/* Floating Cards */
.services-float-card {
  position: absolute;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--services-border-color);
  border-radius: 12px;
  min-width: 200px;
  z-index: 20;
}

.services-float-card-1 {
  top: 0;
  right: 10%;
  animation: float 5s ease-in-out infinite;
}

.services-float-card-2 {
  bottom: 40px;
  left: 0;
  animation: float 7s ease-in-out infinite reverse;
}

.services-float-card-3 {
  top: 40%;
  left: -20%;
  transform: translate(-10%, -10%);
  animation: float 9s ease-in-out infinite;
}

/* Universal parallax for all future float cards */
.services-float-card[class*="services-float-card-"] {
  animation: float 6s ease-in-out infinite;
}

.services-float-card[class*="services-float-card-"]:nth-child(even) {
  animation: float 7s ease-in-out infinite reverse;
}

.services-float-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-float-icon {
  width: 32px;
  height: 32px;
  background: rgba(76, 201, 240, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--services-secondary-color);
}

.services-float-label {
  font-size: 0.8rem;
  color: var(--services-text-secondary);
}

.services-float-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--services-text-primary);
}

/* Services Section */
.services-section {
  padding: 120px 0;
  background: var(--services-dark-bg);
  position: relative;
}

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

.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.services-section-badge {
  display: inline-block;
  color: var(--services-secondary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.services-section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--services-text-primary);
  margin-bottom: 30px;
  line-height: 1.2;
}

.services-section-description {
  font-family: "Hind", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--services-text-secondary);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.expertise-card {
  background: var(--services-card-bg);
  border: 1px solid var(--services-border-color);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-card {
  background: var(--services-card-bg);
  border: 1px solid var(--services-border-color);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.services-card:hover {
  transform: translateY(-10px);
  border-color: var(--services-primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Service Card */
.services-card-featured {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 43, 0.1),
    rgba(168, 85, 247, 0.1)
  );
  border: 1px solid rgba(255, 107, 43, 0.3);
  box-shadow: 0 10px 30px rgba(255, 107, 43, 0.2);
}

.services-card-featured:hover {
  box-shadow: 0 20px 50px rgba(255, 107, 43, 0.3);
}

.services-card-star {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fbbf24;
  animation: pulse 2s infinite;
}

.services-card-content {
  position: relative;
  z-index: 2;
}

.services-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--services-border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--services-secondary-color);
  transition: all 0.3s ease;
}

.services-card:hover .services-card-icon {
  transform: scale(1.1);
  border-color: var(--services-primary-color);
  color: var(--services-primary-color);
}

.services-card-featured .services-card-icon {
  background: rgba(255, 107, 43, 0.2);
  border-color: rgba(255, 107, 43, 0.3);
  color: var(--services-primary-color);
}

.services-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--services-text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.services-card-new {
  padding: 4px 8px;
  background: var(--services-primary-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 1px;
}

.services-card-description {
  font-family: "Hind", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--services-text-secondary);
  margin-bottom: 24px;
}

.services-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--services-primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.services-card-link:hover {
  gap: 8px;
  color: var(--services-text-primary);
}

/* Technologies Section */
.technologies-section {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    var(--services-dark-bg) 0%,
    #0b1026 50%,
    var(--services-dark-bg) 100%
  );
  position: relative;
  overflow: hidden;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--slm-border);
    border-bottom: 1px solid var(--slm-border);
}

.technologies-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(76, 201, 240, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.technologies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.technologies-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.technologies-left {
  margin-bottom: 40px;
}

.technologies-badge {
  display: block;
  color: var(--services-primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.technologies-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--services-text-primary);
  margin-bottom: 30px;
  line-height: 1.2;
}

.technologies-subtitle {
  font-weight: 300;
  color: var(--services-text-secondary);
}

.technologies-description {
  font-family: "Hind", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--services-text-secondary);
  margin-bottom: 40px;
}

.technologies-security-card {
  padding: 24px;
  background: linear-gradient(
    135deg,
    rgba(30, 39, 86, 0.8),
    rgba(20, 27, 59, 0.8)
  );
  border: 1px solid var(--services-border-color);
  border-radius: 16px;
}

.technologies-security-content {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.technologies-security-icon {
  width: 40px;
  height: 40px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.technologies-security-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--services-text-primary);
}

.technologies-security-description {
  font-family: "Hind", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--services-text-secondary);
}

/* Technologies Grid */
.technologies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.technologies-card {
  padding: 24px;
  background: rgba(30, 39, 86, 0.4);
  border: 1px solid var(--services-border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.technologies-card:hover {
  border-color: var(--services-border-color);
  background: rgba(30, 39, 86, 0.6);
}

.technologies-card-featured {
  grid-column: span 2;
  background: rgba(255, 107, 43, 0.1);
  border: 1px solid rgba(255, 107, 43, 0.3);
  position: relative;
  overflow: hidden;
}

.technologies-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 43, 0.1);
  border-radius: 0 0 0 16px;
  border-left: 1px solid rgba(255, 107, 43, 0.2);
  border-bottom: 1px solid rgba(255, 107, 43, 0.2);
}

/* Featured card layout - title and logo side by side */
.technologies-card-featured .technologies-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.technologies-card-featured .technologies-card-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}

.technologies-card-featured .technologies-card-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin: 0;
}

/* Regular card title styling */
.technologies-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--services-text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Override for featured cards */
.technologies-card-featured .technologies-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--services-text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.2;
  display: block;
}

.technologies-card-featured .technologies-card-description {
  margin: 16px 0 0 0;
  padding: 0;
}

.technologies-card-featured .technologies-tags {
  margin: 24px 0 0 0;
  padding: 0;
}

.technologies-card-featured .technology-logo {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
}

.technologies-card-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 107, 43, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--services-primary-color);
}

/* Featured card icon - positioned in orange corner */
.technologies-card-featured .technologies-card-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 43, 0.2);
  border-radius: 50%;
  font-size: 18px;
  z-index: 2;
}

.technologies-card-featured .technologies-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--services-text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.technologies-card-description {
  font-family: "Hind", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--services-text-secondary);
  margin-bottom: 16px;
}

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

.technologies-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Hind", sans-serif;
  font-size: 0.9rem;
  color: var(--services-text-secondary);
  margin-bottom: 8px;
}

.technologies-bullet {
  width: 6px;
  height: 6px;
  background: var(--services-secondary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.technologies-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.technologies-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--services-border-color);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--services-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.technologies-tag-svg {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Animations */
@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-orbit-container {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    transform: translateY(-90px); /* Tablet pozicija */
  }

  .services-astronaut {
    width: 300px; /* Postavljeno na 300px */
    height: 300px; /* Postavljeno na 300px */
  }

  .services-float-card {
    font-size: 0.8rem;
    padding: 12px;
    min-width: 180px;
  }

  .services-float-card-1 {
    top: -50px;
    right: 10%;
  }

  .services-float-card-2 {
    bottom: 0px;
    left: -15px;
  }

  .services-float-card-3 {
    top: 100px;
    left: -120px; /* 60px + 50px */
  }

  /* Tablet Buttons */
  .services-hero-buttons {
    flex-direction: row;
    gap: 15px;
    margin-bottom: 32px;
    justify-content: left;
  }

  .services-hero-chips {
    margin-top: 12px;
    margin-bottom: 20px;
  }

  .services-btn-primary,
  .services-btn-secondary {
    padding: 25px 40px;
    font-size: 13px;
    margin: 0;
    text-align: center;
      justify-content: center;
  }
}

/* Extra Small Mobile (320px - 379px) */
@media (max-width: 379px) {
  .services-orbit-container {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    transform: translateY(-150px);
  }

  .services-astronaut {
    width: 90px;
    height: 90px;
  }

  .services-float-card {
    font-size: 0.65rem;
    padding: 6px;
    min-width: 100px;
  }

  .services-float-card-1 {
    top: -60px;
    right: -30px;
  }

  .services-float-card-2 {
    bottom: 0px;
    left: -30px;
  }

  .services-float-card-3 {
    top: 60px;
    left: -80px; /* Prilagođeno za extra small */
  }

  /* Extra Small Mobile Buttons */
  .services-hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .services-hero-chips {
    margin-top: 10px;
    margin-bottom: 16px;
    justify-content: center;
  }

  .services-btn-primary,
  .services-btn-secondary {
    width: 100%;
    max-width: 260px;
    padding: 18px 25px;
    font-size: 11px;
    margin: 0 auto;
  }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
  .services-orbit-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    transform: translateY(-150px);
  }

  .services-astronaut {
    width: 200px;
    height: 200px;
  }

  .services-float-card {
    font-size: 0.7rem;
    padding: 8px;
    min-width: 120px;
  }

  .services-float-card-1 {
    top: -50px;
    right: -25px;
  }

  .services-float-card-2 {
    bottom: -30px;
    left: -25px;
  }

  .services-float-card-3 {
    top: 70px;
    left: -50px; /* Konzistentno sa ostalim */
  }

  /* Mobile Buttons */
  .services-hero-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
  }

  .services-hero-chips {
    margin-top: 10px;
    margin-bottom: 16px;
    justify-content: center;
  }

  .services-btn-primary,
  .services-btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 20px 30px;
    font-size: 12px;
    margin: 0 auto;
  }
}

/* Large Mobile (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .services-orbit-container {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    transform: translateY(-70px);
  }

  .services-astronaut {
    width: 300px;
    height: 300px;
  }

  .services-float-card {
    font-size: 0.75rem;
    padding: 10px;
    min-width: 140px;
  }

  .services-float-card-1 {
    top: -40px;
    right: -20px;
  }

  .services-float-card-2 {
    bottom: 0px;
    left: -20px;
  }

  .services-float-card-3 {
    top: 60px;
    left: -115px; /* 65px + 50px */
  }

  /* Large Mobile Buttons */
  .services-hero-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
  }

  .services-hero-chips {
    margin-top: 10px;
    margin-bottom: 16px;
    justify-content: center;
  }

  .services-btn-primary,
  .services-btn-secondary {
    width: 100%;
    max-width: 320px;
    padding: 22px 35px;
    font-size: 13px;
    margin: 0 auto;
    text-align: center;
      justify-content: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .services-hero-buttons {
    justify-content: center;
  }

  .services-hero-chips {
    justify-content: center;
  }

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

  .technologies-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

  .technologies-card-featured {
    grid-column: span 1;
  }

  .services-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-hero-text h1 {
    font-size: 2.5rem;
  }

  .services-hero-subtitle {
    font-size: 1.2rem;
  }

  .services-card {
    padding: 30px 20px;
  }

  .services-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .services-btn-primary,
  .services-btn-secondary {
    width: 100%;
    max-width: 200px;
    text-align: center;
    justify-content: center;
  }
}

/* ===================================
   APPROACH SECTION STYLES
   =================================== */

.approach-section {
  padding: 120px 0;
  /*background: var(--services-dark-bg);*/
  -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--slm-border);
    border-bottom: 1px solid var(--slm-border);
  position: relative;
  overflow: hidden;
}

.approach-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(76, 201, 240, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.approach-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.approach-header {
  text-align: center;
  margin-bottom: 80px;
}

.approach-badge {
  display: inline-block;
  color: var(--services-primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.approach-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--services-text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.approach-description {
  font-family: "Hind", sans-serif;
  font-size: 1.2rem;
  color: var(--services-text-secondary);
  margin-bottom: 10px;
}

/* Approach Timeline */
.approach-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.approach-timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--services-primary-color),
    var(--services-secondary-color)
  );
  z-index: 1;
}

.approach-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.approach-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 180px;
  position: relative;
}

.approach-step-icon {
  width: 80px;
  height: 80px;
  background: var(--services-card-bg);
  border: 2px solid var(--services-border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--services-secondary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

/* Step 1 - Blue */
.approach-step:nth-child(1):hover .approach-step-icon {
  border-color: #3b82f6;
  color: #3b82f6;
  background: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.approach-step:nth-child(1):hover .approach-step-title {
  color: #3b82f6;
}

/* Step 2 - Purple */
.approach-step:nth-child(2):hover .approach-step-icon {
  border-color: #8b5cf6;
  color: #8b5cf6;
  background: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.approach-step:nth-child(2):hover .approach-step-title {
  color: #8b5cf6;
}

/* Step 3 - Primary Color (Center) - ostaje kako je sada */
.approach-step:nth-child(3):hover .approach-step-icon-center {
  background: transparent !important;
  border-color: #f39222 !important;
  color: #f39222 !important;
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(243, 146, 34, 0.2) !important;
}

.approach-step:nth-child(3):hover .approach-step-title-center {
  color: #f39222 !important;
}

/* Additional rule for center step to ensure it works */
.approach-step-center:hover .approach-step-icon-center {
  background: transparent !important;
  border-color: #f39222 !important;
  color: #f39222 !important;
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(243, 146, 34, 0.2) !important;
}

.approach-step-center:hover .approach-step-title-center {
  color: #f39222 !important;
}

/* Step 4 - Green */
.approach-step:nth-child(4):hover .approach-step-icon {
  border-color: #10b981;
  color: #10b981;
  background: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.approach-step:nth-child(4):hover .approach-step-title {
  color: #10b981;
}

/* Step 5 - Pink */
.approach-step:nth-child(5):hover .approach-step-icon {
  border-color: #ec4899;
  color: #ec4899;
  background: transparent;
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

.approach-step:nth-child(5):hover .approach-step-title {
  color: #ec4899;
}

/* Common hover for descriptions */
.approach-step:hover .approach-step-description {
  color: var(--services-text-primary);
}

/* Center Step - Special Styling */
.approach-step-center {
  position: relative;
  margin-top: -10px; /* Izjednači vertikalno poravnanje s regular stepovima */
}

.approach-step-icon-center {
  width: 100px;
  height: 100px;
  background: var(--services-primary-gradient);
  border: 3px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

/* Override center step hover to ensure it works */
.approach-step:hover .approach-step-icon-center {
  background: transparent !important;
  border-color: #f39222 !important;
  color: #f39222 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 0 3px rgba(243, 146, 34, 0.2) !important;
}

/* Most specific rule for center step */
.approach-step-center:hover .approach-step-icon-center {
  background: transparent !important;
  border-color: #f39222 !important;
  color: #f39222 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 0 3px rgba(243, 146, 34, 0.2) !important;
}

/* Ultra specific rule */
section.approach-section
  .approach-steps
  .approach-step-center:hover
  .approach-step-icon-center {
  background: transparent !important;
  border-color: #f39222 !important;
  color: #f39222 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 0 3px rgba(243, 146, 34, 0.2) !important;
}

/* 3rd step always has orange hover - regardless of center/regular type */
.approach-step:nth-child(3):hover .approach-step-icon {
  background: transparent !important;
  border-color: #f39222 !important;
  color: #f39222 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 0 3px rgba(243, 146, 34, 0.2) !important;
}

.approach-step:nth-child(3):hover .approach-step-icon-center {
  background: transparent !important;
  border-color: #f39222 !important;
  color: #f39222 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 0 3px rgba(243, 146, 34, 0.2) !important;
}

.approach-step:nth-child(3):hover .approach-step-title {
  color: #f39222 !important;
}

.approach-step:nth-child(3):hover .approach-step-title-center {
  color: #f39222 !important;
}

.approach-step-badge-ai {
  position: absolute;
  top: -50px;
  left: 25%;
  background: rgba(243, 146, 34, 0.4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 3px 10px rgba(243, 146, 34, 0.3);
  animation: badgeGlow 2s infinite;
  z-index: 10;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
}

@keyframes badgeGlow {
  0%,
  100% {
    box-shadow: 0 3px 10px rgba(243, 146, 34, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 5px 15px rgba(243, 146, 34, 0.5);
    transform: scale(1.02);
  }
}

.approach-step-content {
  max-width: 160px;
}

.approach-step-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--services-text-primary);
  margin-bottom: 10px;
}

.approach-step-title-center {
  font-size: 1.1rem;
  color: var(--services-primary-color);
}

.approach-step-description {
  font-family: "Hind", sans-serif;
  font-size: 0.9rem;
  color: var(--services-text-secondary);
  line-height: 1.4;
}

.approach-note {
  margin-top: 60px;
  text-align: center;
}

.approach-note-content {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(76, 201, 240, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.3);
  border-radius: 12px;
  padding: 16px 24px;
  color: var(--services-text-secondary);
  font-size: 0.95rem;
}

.approach-note-content i {
  color: var(--services-secondary-color);
  font-size: 1.1rem;
}

/* ===================================
   EXPERTISE SECTION STYLES
   =================================== */

.expertise-section {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    var(--services-dark-bg) 0%,
    #0b1026 50%,
    var(--services-dark-bg) 100%
  );
  position: relative;
  overflow: hidden;
}

.expertise-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.expertise-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 40px;
}

.expertise-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--services-text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.expertise-description {
  font-family: "Hind", sans-serif;
  font-size: 1.1rem;
  color: var(--services-text-secondary);
  line-height: 1.6;
}

.expertise-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--services-secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.expertise-link:hover {
  color: var(--services-primary-color);
  transform: translateX(5px);
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.expertise-card {
  background: var(--services-card-bg);
  border: 1px solid var(--services-border-color);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  text-align: center;
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: var(--services-primary-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.expertise-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.2rem;
  color: var(--services-secondary-color);
  transition: all 0.3s ease;
}

.expertise-card:hover .expertise-card-icon {
  transform: scale(1.1);
  border-color: var(--services-primary-color);
  color: var(--services-primary-color);
}

.expertise-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--services-text-primary);
  margin-bottom: 10px;
}

.expertise-card-description {
  font-family: "Hind", sans-serif;
  font-size: 0.9rem;
  color: var(--services-text-secondary);
  line-height: 1.4;
}

/* Team Highlight */
.expertise-team-highlight {
  background: linear-gradient(
    135deg,
    rgba(243, 146, 34, 0.02),
    rgba(76, 201, 240, 0.02)
  );
  border: 1px solid rgba(255, 107, 43, 0.3);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.expertise-team-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 107, 43, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.expertise-team-image {
  position: relative;
  flex-shrink: 0;
}

.expertise-team-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--services-primary-color);
}

.expertise-team-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: var(--services-accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.expertise-team-content {
  flex: 1;
}

.expertise-team-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--services-text-primary);
  margin-bottom: 8px;
}

.expertise-team-role {
  font-family: "Hind", sans-serif;
  font-size: 1rem;
  color: var(--services-secondary-color);
  margin-bottom: 16px;
  font-weight: 500;
}

.expertise-team-quote {
  font-family: "Hind", sans-serif;
  font-size: 1.1rem;
  color: var(--services-text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.expertise-team-btn {
  background: var(--services-accent-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expertise-team-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* ===================================
   CONTACT SECTION STYLES
   =================================== */

.contact-section {
  padding: 120px 0;
  background: var(--services-dark-bg);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(76, 201, 240, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  max-width: 500px;
}

.contact-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--services-text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-description {
  font-family: "Hind", sans-serif;
  font-size: 1.1rem;
  color: var(--services-text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--services-text-secondary);
  font-size: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--services-border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--services-secondary-color);
  font-size: 1rem;
}

/* Contact Form */
.contact-form-container {
  background: var(--services-card-bg);
  border: 1px solid var(--services-border-color);
  border-radius: 20px;
  padding: 40px;
  margin-top: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--services-text-primary);
}

.contact-form-input,
.contact-form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--services-border-color);
  border-radius: 12px;
  padding: 16px;
  color: var(--services-text-primary);
  font-family: "Hind", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: var(--services-text-secondary);
  opacity: 0.6;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: var(--services-primary-color);
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.1);
}

.contact-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-container .wpcf7-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-form-container .wpcf7-form p {
  margin: 0;
  width: 100%;
}

/* First two fields (Name + Email) side by side */
.contact-form-container .wpcf7-form p:nth-child(2),
.contact-form-container .wpcf7-form p:nth-child(3) {
  width: calc(50% - 8px);
}

/* Message field full width */
.contact-form-container .wpcf7-form p:nth-child(4) {
  width: 100%;
}

/* Submit button same width as textarea */
.contact-form-container .wpcf7-form p:nth-child(5) {
  width: 100%;
  padding: 0;
}

/* Fix input box-sizing to prevent overlap */
.contact-form-container .wpcf7-form-control {
  box-sizing: border-box;
}

.contact-form-container .wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--services-text-primary);
  font-size: 0.9rem;
}

.contact-form-container .wpcf7-form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: white;
  font-family: "Hind", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form-container .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--services-primary-color);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form-container .wpcf7-form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form-container .wpcf7-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-container .wpcf7-submit {
  display: block;
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.21429em;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 18px 65px;
  margin-top: 10px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-out;
  color: #ffffff !important;
  background: none;
  cursor: pointer;
  text-decoration: none;
}

.contact-form-container .wpcf7-submit:hover {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #f69320 0%, #e4b50d 100%);
}

/* Hide stray "] text from CF7 shortcode rendering */
.contact-form-container {
  font-size: 0;
}

.contact-form-container .wpcf7,
.contact-form-container .wpcf7-form,
.contact-form-container .wpcf7-form p,
.contact-form-container .wpcf7-form label,
.contact-form-container .wpcf7-form-control,
.contact-form-container .wpcf7-submit,
.contact-form-container .wpcf7-response-output {
  font-size: 1rem;
}

.contact-form-container .wpcf7-form label {
  font-size: 0.9rem;
}

.contact-form-container .wpcf7-response-output {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-family: "Hind", sans-serif;
}

.contact-form-container .wpcf7-validation-errors {
  background: rgba(255, 107, 43, 0.1);
  border-color: rgba(255, 107, 43, 0.3);
}

.contact-form-container .wpcf7-mail-sent-ok {
  background: rgba(76, 201, 240, 0.1);
  border-color: rgba(76, 201, 240, 0.3);
}

.contact-form-container .wpcf7-spinner {
  display: inline-block;
  margin-left: 10px;
}

.contact-form-container .wpcf7-submit.has-spinner::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact-form-submit {
  background: var(--services-primary-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(76, 201, 240, 0.3);
}

.contact-form-submit:active {
  transform: translateY(0);
}

/* Testimonials Section Styles */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(7, 11, 22, 0.9),
    rgba(76, 201, 240, 0.05)
  );
  position: relative;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../build/pattern-dots.png") repeat;
  opacity: 0.1;
  pointer-events: none;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden; /* Hide overflow for carousel */
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--services-text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.testimonials-description {
  font-family: "Hind", sans-serif;
  font-size: 1.2rem;
  color: var(--services-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.testimonials-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Carousel Animation */
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--scroll-width));
  }
}

.testimonials-carousel-active .testimonials-grid {
  animation: scrollTestimonials var(--scroll-duration, 12s) linear infinite;
}

.testimonials-carousel-active .testimonials-grid:hover {
  animation-play-state: paused;
}

/* Individual testimonial cards in carousel */
.testimonials-carousel-active .testimonial-card {
  flex: 0 0 auto;
  width: 280px; /* Fixed width for cards */
  min-width: 280px;
  max-width: 280px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 201, 240, 0.2);
  border-radius: 8px;
  padding: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(243, 146, 34, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 146, 34, 0.3);
  box-shadow: 0 15px 35px rgba(243, 146, 34, 0.2);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-quote {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-quote i {
  color: var(--services-primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: block;
}

.testimonial-quote p {
  font-family: "Hind", sans-serif;
  font-size: 0.9rem;
  color: var(--services-text-primary);
  line-height: 1.4;
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--services-primary-color);
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    var(--services-primary-color),
    var(--services-secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar[data-initials]::after {
  content: attr(data-initials);
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--services-text-primary);
  margin: 0 0 3px 0;
}

.testimonial-info p {
  font-family: "Hind", sans-serif;
  font-size: 0.8rem;
  color: var(--services-text-secondary);
  margin: 0;
  line-height: 1.2;
}

.testimonial-info .testimonial-company {
  font-size: 0.75rem;
  color: var(--services-primary-color);
  margin-top: 0;
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-top: 15px;
}

.testimonial-rating i {
  color: var(--services-primary-color);
  font-size: 1rem;
}

.testimonials-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  background: rgba(243, 146, 34, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(243, 146, 34, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-cta-text {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: var(--services-text-primary);
  margin: 0;
  font-weight: 600;
  flex: 1;
}

.testimonials-cta-btn {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.21429em;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 30px 65px;
  margin: 0;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-out;
  color: #ffffff !important;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  text-decoration: none;
  flex-shrink: 0;
}

.testimonials-cta-btn:before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #f69320 0%, #e4b50d 100%);
  opacity: 0;
  transition: all 0.5s ease-out;
  z-index: -1;
}

.testimonials-cta-btn:hover {
  border: 1px solid transparent;
  text-decoration: none;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(243, 146, 34, 0.3);
}

.testimonials-cta-btn:hover:before {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Carousel adjustments for tablet */
  .testimonials-carousel-active .testimonial-card {
    width: 280px; /* Keep fixed width on tablet */
  }

  /* CF7 Form responsive */
  .contact-form-container .wpcf7-form {
    gap: 15px;
  }

  .contact-form-container .wpcf7-form-control {
    padding: 12px 16px;
  }
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Carousel adjustments for mobile */
  .testimonials-carousel-active .testimonial-card {
    width: 280px; /* Keep fixed width on mobile */
    min-width: 280px;
  }

  /* CF7 Form mobile responsive */
  .contact-form-container .wpcf7-form {
    gap: 12px;
  }

  /* Stack fields vertically on mobile */
  .contact-form-container .wpcf7-form p:nth-child(2),
  .contact-form-container .wpcf7-form p:nth-child(3) {
    width: 100%;
  }

  .contact-form-container .wpcf7-form-control {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .contact-form-container .wpcf7-textarea {
    min-height: 100px;
  }

  .contact-form-container .wpcf7-submit {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .testimonials-header {
    margin-bottom: 40px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonials-cta {
    padding: 30px 20px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .testimonials-cta-text {
    text-align: center;
    margin-bottom: 0;
  }

  .testimonials-cta-btn {
    border: 1px solid transparent;
    padding: 15px 30px;
  }

  .testimonials-cta-btn:before {
    opacity: 1;
  }
}

/* Mobile Testimonials Carousel */
@media (max-width: 640px) {
  /* Wrapper must clip overflow */
  .testimonials-mobile-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  /* Disable infinite scroll animation */
  .testimonials-carousel-active .testimonials-grid {
    animation: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    overflow: visible;
    gap: 0;
    transition: transform 0.4s ease;
    will-change: transform;
  }

  .testimonials-carousel-active .testimonial-card {
    flex: 0 0 calc(100vw - 40px);
    width: calc(100vw - 40px);
    min-width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    margin: 0 20px;
    margin-bottom: 0;
    white-space: normal;
    word-break: break-word;
  }

  /* Dot navigation */
  .testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 30px;
  }

  .testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .testimonials-dot.active {
    background: var(--services-primary-color);
    transform: scale(1.3);
  }
}

/* Hide dots on desktop */
@media (min-width: 641px) {
  .testimonials-dots {
    display: none;
  }
}

/* ===================================
   RESPONSIVE DESIGN FOR ALL SECTIONS
   =================================== */

@media (max-width: 1024px) {
  .approach-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .approach-step {
    width: 160px;
  }

  .approach-timeline-line {
    width: 80%;
    left: 10%;
    top: 25%;
    height: 1px;
    transform: rotate(0deg);
  }

  .expertise-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .expertise-link {
    align-self: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .expertise-team-highlight {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .approach-steps {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .approach-timeline-line {
    width: 2px;
    height: 80%;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
  }

  .approach-step {
    width: 200px;
  }

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

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .expertise-team-highlight {
    padding: 30px;
  }

  .contact-form-container {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .approach-step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .approach-step-icon-center {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }

  .expertise-card {
    padding: 24px;
  }

  .expertise-team-image img {
    width: 100px;
    height: 100px;
  }

  .contact-form-container {
    padding: 24px;
  }

  .expertise-team-highlight {
    padding: 24px;
  }
}

/* ===================================
   CSS ANIMATIONS
   =================================== */

@keyframes expandWidth {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

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

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(76, 201, 240, 0.6);
  }
}

/* Ripple Effect */
.expertise-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Loading States */
.contact-form-submit.loading {
  position: relative;
  color: transparent;
}

.contact-form-submit.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Success State */
.contact-form-submit.success {
  background: #10b981 !important;
  animation: successPulse 0.5s ease;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Error States */
.contact-form-input.error,
.contact-form-textarea.error {
  border-color: #ef4444 !important;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* Enhanced Hover Effects */
.services-card:hover,
.technologies-card:hover,
.expertise-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1.15);
  }
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.services-card:focus,
.technologies-card:focus,
.expertise-card:focus,
.contact-form-input:focus,
.contact-form-textarea:focus,
.contact-form-submit:focus {
  outline: 2px solid var(--services-primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .services-hero-buttons,
  .contact-form-container,
  .expertise-team-btn {
    display: none;
  }

  .services-section,
  .technologies-section,
  .approach-section,
  .expertise-section {
    break-inside: avoid;
  }
}
