.stats-box {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.stats-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.team-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.team-card {
  padding: 10px;
}
.team-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-box:hover .team-img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.col-lg-2-4 {
  flex: 0 0 auto;
  width: 20%;
}

@media (max-width: 992px) {
  .col-lg-2-4 {
    width: 33.3333%;
  }
}
@media (max-width: 768px) {
  .col-lg-2-4 {
    width: 50%;
  }
}
.hero-section {
  background-image: url('assets/hero-bg.jpg'); /* replace with your actual image */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* Overlay with blur and dark tint */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 30, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* Ensures content stays above overlay */
.hero-section .z-2 {
  z-index: 2;
}

/* Floating Text Animation */
.floating-text {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f8fb;
}
.navbar-brand img {
  height: 30px;
}
.search-bar {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}
.tag-btn {
  border-radius: 20px;
  padding: 4px 14px;
  margin: 5px 8px 5px 0;
}
.company-card, .job-card {
  border-radius: 12px;
  transition: all 0.2s ease;
}
.company-card:hover, .job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.company-card img {
  max-height: 40px;
  object-fit: contain;
}
footer {
  font-size: 14px;
}
.company-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Service Pages Hero Section */
.hero-service-section {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.hero-service-container {
  background: rgba(255,255,255,0.85);
  border-radius: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 0.6rem;
}
.btn-red {
  background-color: #2f7edd;
  color: white;
}
.btn-red:hover {
  background-color: #2f7edd;
  color: white;
}
.navbar-logo {
  height: 110px !important;
  width: auto !important;
  max-width: none !important;
  margin-top: -35px;
  margin-bottom: -35px;
  display: block;
}

/* Service-specific backgrounds */
.bg-web-development {
  background-image: url('/user/assets/images/web development.jpg');
}
.bg-ui-ux-design {
  background-image: url('/user/assets/images/ui-ux.jpg');
}
.bg-graphics-designing {
  background-image: url('/user/assets/images/graphics design.jpg');
}
.bg-app-development {
  background-image: url('/user/assets/images/app development.jpg');
}
.bg-pos-business-solutions {
  background-image: url('/user/assets/images/pos business solutions.jpg');
}
.bg-e-commerce-solutions {
  background-image: url('/user/assets/images/E-commerce solutions.jpg');
}
.bg-database-administration {
  background-image: url('/user/assets/images/database administration.jpg');
}
.bg-cloud-infrastructure {
  background-image: url('/user/assets/images/cloud infractructure.jpg');
}

/* About Page Specific Styles */
.navbar {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.navbar-logo {
  height: 110px !important;
  width: auto !important;
  max-width: none !important;
  margin-top: -35px;
  margin-bottom: -35px;
  display: block;
}

.navbar-nav .nav-link {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.95rem;
}

.btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

.hero-section {
  background: url('../assets/ABOUT.jpg') center/cover no-repeat;
  position: relative;
  height: 80vh;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.z-2 {
  position: relative;
  z-index: 2;
}

.team-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.service-icon {
  font-size: 2rem;
  color: #2f7edd;
}

.team-card {
  transition: transform 0.3s ease;
}
.team-card:hover {
  transform: translateY(-5px);
}

.team-img {
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(47, 126, 221, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.img-fluid {
  max-height: 300px;
  object-fit: cover;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  display: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  z-index: 9999;
}

/* Overview image */
.overview-img {
  border-radius: 32px;
  object-fit: cover;
  max-width: 600px;
  width: 100%;
  height: 420px;
  box-shadow: 0 8px 32px rgba(47,126,221,0.18);
}

/* Office image */
.office-img {
  /* Add any specific styles if needed */
}

/* Hero Get in Touch Button */
.btn-hero-get-in-touch {
  background-color: #2f7edd !important;
  border-color: #2f7edd !important;
}

/* Footer background */
.footer-bg {
  background-color: #f4f6fa;
}

/* Footer services margin fix */
.footer-services {
  margin-top: 5px;
}

/* Blog Detail and Blog Homepage Styles */
.blog-header {
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4)), url('../assets/code.jpeg') center/cover no-repeat;
  padding: 100px 0;
  color: #fff;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.blog-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.blog-header .container {
  position: relative;
  z-index: 1;
}
.blog-meta {
  font-size: 0.9rem;
  color: #ddd;
  margin-top: 10px;
}
.blog-content {
  background: #fff;
  border-radius: 10px;
  padding: 32px;
  margin-top: -60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.blog-content-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin: 20px 0;
}
blockquote {
  border-left: 4px solid #2f7edd;
  padding-left: 16px;
  margin: 20px 0;
  background: transparent;
  font-style: italic;
}
.blockquote-footer {
  color: #666;
  font-size: 0.9rem;
  margin-top: 5px;
}
.breadcrumb-container {
  background: linear-gradient(to right, #243b72, #3784f8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.767);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}
.breadcrumb-container a:hover {
  opacity: 1 !important;
  color: #38bdf8 !important;
  transition: all 0.2s ease-in-out;
}
.breadcrumb-container .bi {
  font-size: 0.85rem;
}

/* Blog Homepage Styles */
.hero {
  background: linear-gradient(to bottom right, rgba(47, 126, 221, 0.8), rgba(47, 126, 221, 0.6)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d') center/cover no-repeat;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}
.blog-card img {
  height: 200px;
  object-fit: cover;
}
.badge {
  background-color: #2f7edd;
}
.filter-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.filter-btn {
  margin: 6px;
  border: 1px solid #2f7edd;
  background: linear-gradient(to right, #2f7edd 10%, #6f9eed 90%);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 0.88rem;
  line-height: 1.2;
  height: auto;
}
.filter-btn:hover,
.filter-btn.active {
  background: #fff;
  color: #2f7edd;
  border: 2px solid #2f7edd;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(47, 126, 221, 0.3);
}
.filter-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth;
}
.filter-scroll::-webkit-scrollbar {
  display: none !important;
}
.filter-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(47,126,221,0.08);
  font-size: 1.1rem;
  color: #2f7edd;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.filter-slider-btn.left { left: 0.5rem; }
.filter-slider-btn.right { right: 0.5rem; }
.filter-slider-btn:hover {
  background: #f1f7ff;
  box-shadow: 0 4px 16px rgba(47,126,221,0.15);
}

/* Job Portal & Job Description Styles */
.company-slider-wrapper {
  position: relative;
  overflow: hidden;
}
.company-slider {
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.company-slider::-webkit-scrollbar {
  display: none;
}
.company-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(47,126,221,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  font-size: 1.2rem;
  color: #2f7edd;
}
.company-slider-btn.left { left: 0.5rem; }
.company-slider-btn.right { right: 0.5rem; }
.company-slider-btn:hover {
  background: #f1f7ff;
  box-shadow: 0 4px 16px rgba(47,126,221,0.15);
}
.company-card {
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 260px;
  max-width: 260px;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.company-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(47,126,221,0.12);
  z-index: 1;
}
.company-logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.tag-btn {
  margin-bottom: 8px;
  min-width: 120px;
  text-align: center;
}
@media (max-width: 576px) {
  .tag-btn {
    min-width: 100px;
    font-size: 0.95rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .d-flex.flex-wrap.justify-content-center.gap-2 {
    gap: 0.5rem !important;
  }
}
