/*--------------------------------------------------------------
# General - TQTag brand colors
--------------------------------------------------------------*/
:root {
  --tq-blue: #0885FF;  /* Strong technology blue */
  --tq-green: #4CDA64;  /* Fresh clean green */
  --tq-dark: #022d4e;  /* Darker shade of blue for backgrounds */
  --tq-light: #f4f9ff;
  --tq-gray: #555555;
  --tq-green-light: rgba(76, 218, 100, 0.2);
  --tq-blue-light: rgba(8, 133, 255, 0.2);
}

/* Reset any opacity or visibility issues */
.number {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

body {
  font-family: "Poppins", sans-serif;
  color: #444444;
}

a {
  color: var(--tq-blue);
  text-decoration: none;
}

a:hover {
  color: var(--tq-green);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

/* Code elements for a tech look */
code, pre, .tech-text {
  font-family: "Roboto Mono", monospace;
}

/* Code highlight boxes */
.code-box {
  background: #f8faff;
  border-left: 3px solid #106eea;
  padding: 20px;
  font-family: "Roboto Mono", monospace;
  margin: 20px 0;
  border-radius: 0 5px 5px 0;
  font-size: 14px;
  color: #333;
}

/* Tech label styling */
.tech-label {
  display: inline-block;
  background: rgba(16, 110, 234, 0.1);
  color: #106eea;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
  margin-right: 5px;
  margin-bottom: 8px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--tq-blue);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--tq-green);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

/* Custom navbar styling */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: #fff !important;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar:not(.scrolled) {
  background-color: transparent !important;
}

.navbar-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand {
  color: var(--tq-blue) !important;
}

.navbar:not(.scrolled) .navbar-brand {
  color: #fff !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  transition: opacity 0.3s ease;
}

.logo-dark {
  display: none;
}

.logo-white {
  display: inline-block;
  filter: brightness(0) invert(1); /* This makes the logo white */
}

.navbar.scrolled .logo-dark {
  display: inline-block;
}

.navbar.scrolled .logo-white {
  display: none;
}

.navbar:not(.scrolled) .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

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

.nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
  color: var(--tq-dark) !important;
}

.navbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar.scrolled .nav-link:hover {
  color: var(--tq-green) !important;
}

.navbar:not(.scrolled) .nav-link:hover {
  color: #fff !important;
}

.navbar.scrolled .nav-link.active {
  color: var(--tq-blue) !important;
  font-weight: 600;
}

.navbar:not(.scrolled) .nav-link.active {
  color: #fff !important;
  font-weight: 600;
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-family: "Space Grotesk", sans-serif;
}

#header .logo a {
  color: #222222;
}

#header .logo a span {
  color: #106eea;
}

#header .logo img {
  max-height: 40px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 82px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

#hero h1 {
  margin: 0;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 50;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.95);
  margin: 20px 0 35px 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#hero .hero-buttons {
  margin-top: 40px;
}

#hero .btn-primary-action {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  transition: 0.3s;
  color: #fff;
  background: var(--tq-green);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#hero .btn-primary-action:hover {
  background: var(--tq-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

#hero .btn-secondary-action {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  transition: 0.3s;
  color: #fff;
  background: var(--tq-blue);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

#hero .btn-secondary-action:hover {
  background: var(--tq-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

#hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* Text highlight styles */
.text-highlight {
  color: var(--tq-green);
  position: relative;
  font-weight: 700;
}

.title-wrapper {
  display: block;
  line-height: 1.1;
}

.brand-logo-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 30px;
  background: rgba(8, 133, 255, 0.15);
  border: 1px solid rgba(76, 218, 100, 0.2);
}

.title-medium {
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tq-green);
  position: relative;
  display: block;
  margin-bottom: 8px;
}

.title-large {
  font-size: 1.5em;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: inline-block;
  background: linear-gradient(45deg, var(--tq-blue), var(--tq-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  line-height: 1.1;
}

.hero-image-wrapper {
  position: relative;
  height: 100%;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2;
  aspect-ratio: 1;
}

/* Floating animation for tech elements */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-bg text {
  animation: float 5s ease-in-out infinite;
}

.hero-bg text:nth-child(2) {
  animation-delay: 1s;
}

.hero-bg text:nth-child(3) {
  animation-delay: 2s;
}

.hero-bg text:nth-child(4) {
  animation-delay: 3s;
}

@media (max-width: 991px) {
  #hero {
    height: 100vh;
    text-align: center;
  }
  
  #hero h1 {
    font-size: 52px;
    line-height: 1.2;
  }
  
  #hero h2 {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-content {
    padding: 2rem 0;
  }
  
  .title-medium {
    font-size: 0.85em;
  }
  
  .title-large {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 46px;
    line-height: 1.3;
  }
  
  #hero h2 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 600px;
  }

  #hero .hero-buttons {
    margin-top: 30px;
  }
  
  .title-medium {
    font-size: 0.9em;
    margin-bottom: 5px;
  }
  
  .title-large {
    font-size: 1.4em;
  }
}

@media (max-width: 575px) {  
  #hero .btn-primary-action {
    font-size: 16px;
    padding: 15px 36px;
    width: auto;
    margin: 0;
  }
  
  #hero h1 {
    font-size: 36px;
  }
  
  #hero h2 {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  
  .title-medium {
    font-size: 0.85em;
    margin-bottom: 3px;
  }
  
  .title-large {
    font-size: 1.3em;
  }
  
  .title-wrapper {
    margin-bottom: 4px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Section General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f6f9fe;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  color: var(--tq-blue);
  letter-spacing: -0.02em;
  display: inline-block;
}

/* Modern accent dot */
.section-title h2::after {
  content: '.';
  color: var(--tq-green);
  position: relative;
  font-size: 60px;
  line-height: 0;
  bottom: -8px;
  margin-left: 1px;
}

/* Add subtle underline to titles */
.section-title::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--tq-blue), var(--tq-green));
  bottom: 10px;
  left: calc(50% - 30px);
  z-index: -1;
}

/* Remove underline from section headings */
.contact .section-title::before,
.team .section-title::before,
.services .section-title::before {
  display: none;
}

.section-title p {
  margin-bottom: 0;
  margin-top: 5px;
  font-size: 18px;
  color: var(--tq-gray);
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-intro p {
  font-size: 18px;
  color: var(--tq-gray);
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Stats
--------------------------------------------------------------*/
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
  height: 100%;
  justify-content: center;
}

.stat-item {
  display: flex;
  align-items: center;
  padding: 25px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #f9fbff);
  box-shadow: 0 10px 30px rgba(8, 133, 255, 0.07);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  transform: translateX(-50px);
  opacity: 0;
  animation: slideIn 0.6s forwards;
}

.stat-item:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--tq-blue), var(--tq-green));
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px) translateX(0);
  box-shadow: 0 15px 35px rgba(8, 133, 255, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: all 0.4s ease;
  color: var(--tq-blue);
  flex-shrink: 0;
  position: relative;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
  color: var(--tq-green);
}

.stat-item:hover .stat-icon svg {
  transform: scale(1.1) rotate(5deg);
}

.stat-content {
  flex: 1;
  position: relative;
  padding-bottom: 40px; /* Make room for the badge text */
}

.stat-number {
  font-size: 52px; /* 25% bigger than original 42px */
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1;
  display: inline-block;
  background: linear-gradient(90deg, var(--tq-blue), var(--tq-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Space Grotesk", sans-serif;
}

/* Animation class applied by JS when scrolled into view */
.stat-number.animate-pulse {
  animation: numberPulse 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes numberPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); } /* Larger growth - 25% bigger */
  100% { transform: scale(1); }
}

.stat-title {
  font-size: 16px;
  color: var(--tq-gray);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  margin-bottom: 10px;
}

.stat-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  transition: all 0.3s ease;
  animation: fadeIn 0.8s forwards;
  animation-delay: 0.5s;
  opacity: 0;
  z-index: -1;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Background labels styling */

.badge-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--tq-blue);
  opacity: 0.15;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Space Grotesk", sans-serif;
  transition: all 0.3s ease;
}

.stat-item:hover .badge-text {
  color: var(--tq-green);
  opacity: 0.25; /* Slightly more visible on hover */
}

@media (max-width: 768px) {
  .stats-container {
    gap: 20px;
    padding: 10px;
  }
  
  .stat-item {
    padding: 15px;
  }
  
  .stat-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }
  
  .stat-number {
    font-size: 42px; /* 25% bigger than original mobile size */
  }
  
  .stat-title {
    font-size: 14px;
  }
  
  .stat-badge {
    padding: 4px 10px;
    margin-top: 8px;
  }
  
  .badge-text {
    font-size: 10px;
  }
  
  .pulse-dot {
    width: 6px;
    height: 6px;
    margin-right: 6px;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: var(--tq-blue);
  line-height: 1;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .service-box {
  text-align: center;
  padding: 40px 25px;
  transition: all ease-in-out 0.4s;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services .service-box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(8, 133, 255, 0.03) 0%, rgba(76, 218, 100, 0.05) 100%);
  transition: all 0.4s;
  z-index: -1;
}

.services .service-box .service-icon {
  margin-bottom: 25px;
  font-size: 56px;
  color: var(--tq-blue);
  display: inline-block;
  transition: all 0.4s;
  align-self: center;
}

.services .service-box h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--tq-blue);
  transition: all 0.3s;
}

.services .service-box p {
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 0;
  font-family: "Poppins", sans-serif;
  color: var(--tq-gray);
  flex-grow: 1;
}

.services .service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(8, 133, 255, 0.1);
}

.services .service-box:hover::before {
  height: 100%;
}

.services .service-box:hover .service-icon {
  color: var(--tq-green);
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Custom Software Development
--------------------------------------------------------------*/
.custom-dev {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, #f6f9fe 100%);
}

.custom-dev h3 {
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 20px;
  color: var(--tq-blue);
}

.custom-dev p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  color: var(--tq-gray);
}

.custom-dev ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.custom-dev ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--tq-gray);
}

.custom-dev ul i {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 18px;
  color: var(--tq-green);
}

.custom-dev-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(8, 133, 255, 0.07);
  transition: all 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(8, 133, 255, 0.1);
}

.feature-icon {
  width: 60px;
  min-width: 60px;
  margin-right: 20px;
  color: var(--tq-blue);
  font-size: 32px;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  color: var(--tq-green);
  transform: scale(1.1);
}

.feature-content h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--tq-blue);
}

.feature-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--tq-gray);
}

@media (max-width: 991px) {
  .custom-dev {
    padding: 60px 0;
  }
  
  .custom-dev-features {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .feature-item {
    padding: 20px;
  }
  
  .feature-icon {
    width: 40px;
    min-width: 40px;
    font-size: 24px;
    margin-right: 15px;
  }
  
  .feature-content h4 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Case Studies
--------------------------------------------------------------*/
.case-studies {
  padding: 80px 0;
  background: #fff;
}

.case-studies-filter {
  margin-bottom: 30px;
  text-align: center;
}

.case-studies-filter ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.case-studies-filter li {
  cursor: pointer;
  display: inline-block;
  margin: 0 5px 10px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--tq-gray);
  border: 1px solid rgba(8, 133, 255, 0.1);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.case-studies-filter li:hover,
.case-studies-filter li.filter-active {
  color: #fff;
  background: var(--tq-blue);
}

.case-study-item {
  margin-bottom: 30px;
  cursor: pointer;
}

.case-study-card {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease;
  height: 250px;
  background: linear-gradient(135deg, var(--tq-blue-light) 0%, var(--tq-green-light) 100%);
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(8, 133, 255, 0.1);
}

.case-study-img {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 133, 255, 0.9);
  text-align: center;
  padding: 30px;
  color: #fff;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.case-study-info {
  opacity: 1;
  position: relative;
  z-index: 3;
}

.case-study-info h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.case-study-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin-bottom: 20px;
}

.case-study-links {
  display: flex;
  justify-content: center;
}

.case-study-links a {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.case-study-links a i {
  margin-right: 6px;
}

.case-study-links a:hover {
  background: var(--tq-green);
  color: #fff;
  transform: scale(1.1);
}

.case-study-modal .modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.case-study-modal .modal-header {
  background: linear-gradient(90deg, var(--tq-blue), var(--tq-blue-light));
  color: #fff;
  border: none;
  padding: 20px 30px;
}

.case-study-modal .modal-title {
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.case-study-modal .modal-body {
  padding: 30px;
}

.case-study-description {
  margin-bottom: 25px;
}

.case-study-highlight {
  font-size: 18px;
  color: var(--tq-blue);
  font-weight: 500;
  margin-bottom: 15px;
}

.case-study-solution h4 {
  color: var(--tq-blue);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.case-study-solution ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.case-study-solution ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 5px;
}

@media (max-width: 991px) {
  .case-studies-filter ul {
    gap: 5px;
  }
  
  .case-studies-filter li {
    font-size: 14px;
    padding: 6px 15px;
    margin: 0 2px 8px;
  }
  
  .case-study-card {
    height: 220px;
  }
  
  .case-study-info h4 {
    font-size: 20px;
  }
  
  .case-study-info p {
    font-size: 14px;
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .case-studies-filter ul {
    flex-wrap: wrap;
  }
  
  .case-study-card {
    height: 200px;
  }
  
  .case-study-info h4 {
    font-size: 18px;
  }
  
  .case-study-info p {
    font-size: 13px;
  }
  
  .case-study-links a {
    width: 35px;
    height: 35px;
  }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding: 60px 0 40px 0;
  background: #f6f9fe;
}

.clients .clients-carousel {
  margin-top: 20px;
  padding: 10px 0;
}

.clients .carousel-inner {
  padding: 5px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: all 0.4s ease;
  opacity: 0.7;
  filter: grayscale(100%);
  height: 80px;
}

.clients .client-logo img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.clients .client-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

/* Smooth sliding animation */
.clients .carousel-item {
  transition: transform 1.2s ease-in-out;
}

/* Autoplaying carousel */
.clients .carousel {
  padding: 20px 0;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 35px rgba(8, 133, 255, 0.05);
  transition: all 0.4s;
  position: relative;
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.team .member .member-img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(8, 133, 255, 0.4) 0%, rgba(76, 218, 100, 0.2) 100%);
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.4s;
  z-index: 1;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: -50px;
  right: 0;
  opacity: 0;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.team .member .social a {
  transition: all 0.3s;
  margin: 0 6px;
  border-radius: 50px;
  width: 40px;
  height: 40px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--tq-blue);
}

.team .member .social a:hover {
  background: var(--tq-green);
  color: #fff;
  transform: translateY(-3px);
}

.team .member .member-info {
  padding: 30px 20px;
  text-align: center;
  border-radius: 0 0 20px 20px;
  transition: all 0.4s;
  position: relative;
}

.team .member .member-info::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--tq-green);
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transition: all 0.4s;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--tq-blue);
  transition: all 0.3s;
}

.team .member .member-info span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--tq-gray);
  margin-bottom: 10px;
}

.team .member .member-info p {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
}

.team .member:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(8, 133, 255, 0.1);
}

.team .member:hover .member-img::before {
  opacity: 0.7;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 20px;
}

.team .member:hover .member-info::before {
  transform: translateX(-50%) scaleX(1);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
}

.contact .info .email {
  margin-bottom: 20px;
}

.contact .contact-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #777;
  text-transform: none;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.contact .contact-value {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

.contact .contact-value a {
  color: var(--tq-blue);
  text-decoration: none;
  transition: 0.3s;
}

.contact .contact-value a:hover {
  color: var(--tq-green);
}

.contact .php-email-form {
  width: 100%;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 12px;
  box-shadow: none;
  font-size: 15px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(8, 133, 255, 0.1);
  transition: all 0.3s;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  background: #fff;
  border-color: rgba(76, 218, 100, 0.3);
  box-shadow: 0 5px 15px rgba(8, 133, 255, 0.05);
}

.contact .php-email-form input {
  height: 52px;
}

.contact .php-email-form textarea {
  padding: 15px 18px;
  min-height: 160px;
}

.contact .php-email-form button[type="submit"] {
  background: var(--tq-blue);
  border: 0;
  padding: 15px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 30px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact .php-email-form button[type="submit"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--tq-green);
  transition: all 0.4s;
  z-index: -1;
  border-radius: 30px;
}

.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(8, 133, 255, 0.2);
}

.contact .php-email-form button[type="submit"]:hover::after {
  height: 100%;
}

/* Highlight effect for form when accessed via "Book a Demo" */
.highlight-form {
  animation: formHighlight 1.5s ease;
}

@keyframes formHighlight {
  0% { box-shadow: 0 0 0 rgba(76, 218, 100, 0); }
  50% { box-shadow: 0 0 30px rgba(76, 218, 100, 0.4); }
  100% { box-shadow: 0 0 0 rgba(76, 218, 100, 0); }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #fff;
  padding: 0 0 30px 0;
  color: #444444;
  font-size: 14px;
  background: #f1f6fe;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

.israel-support {
  display: flex;
  align-items: center;
}

.flag-icon {
  font-size: 24px;
  margin-right: 8px;
}

.support-text {
  font-weight: 600;
  font-size: 16px;
  color: #003e94;
  letter-spacing: 0.5px;
}

#footer .footer-top .footer-contact h3 span {
  color: #106eea;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

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

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--tq-blue);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: var(--tq-blue);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--tq-blue);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--tq-green);
  color: #fff;
  text-decoration: none;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #f6f9fe;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
  background: #f6f9fe;
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: var(--tq-blue);
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: var(--tq-green);
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}
