/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #FF0000; /* Red from logo */
  --secondary-color: #FF7700; /* Orange from logo */
  --accent-color: #FFA500; /* Lighter orange accent */
  --dark-color: #4D4D4D; /* Dark gray from logo */
  --light-accent: #F6F9FE; /* Very light blue background */
  --gray-color: #f8f9fa;
  --text-color: #333;
  --white-color: #ffffff;
  --transition: all 0.3s ease-in-out;
  --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  --hover-shadow: 0 8px 25px rgba(255, 119, 0, 0.2); /* Orange shadow */
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  background-color: var(--white-color);
  overflow-x: hidden;
  line-height: 1.6;
  padding-top: 120px; /* Account for fixed header and topbar */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--secondary-color);
}

.section-bg {
  background-color: var(--gray-color);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 15px;
  color: var(--secondary-color);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  color: #777;
}

section {
  padding: 80px 0;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--white-color);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--light-accent);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i {
  font-size: 24px;
  color: var(--white-color);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #4D4D4D;
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
  z-index: 997;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  border-bottom: none;
  overflow: hidden;
}

#topbar.topbar-scrolled {
  height: 0;
  top: -40px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
}

#topbar .container {
  height: 100%;
}

#topbar .contact-info {
  display: flex;
  align-items: center;
  height: 100%;
}

#topbar .contact-info a,
#topbar .contact-info span {
  line-height: 1;
  color: #ffffff;
  transition: 0.3s;
  margin-left: 5px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

#topbar .contact-info a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

#topbar .contact-info i {
  color: var(--secondary-color);
  line-height: 1;
  margin-right: 8px;
  font-size: 16px;
}

#topbar .social-links {
  display: flex;
  align-items: center;
  height: 100%;
}

#topbar .social-links a {
  color: #ffffff;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: 0.3s;
  height: 100%;
}

#topbar .social-links a:hover {
  color: var(--secondary-color);
}

/* Mobile topbar adjustments */
@media (max-width: 991.98px) {
  #topbar {
    height: 35px !important;
    font-size: 12px;
    transform: translateY(0);
    transition: transform 0.3s ease, all 0.5s ease;
  }
  
  #topbar.mobile-hidden {
    transform: translateY(-100%);
  }
  
  #topbar .social-links {
    display: none !important;
  }
  
  #topbar .contact-info a {
    margin-right: 10px !important;
    font-size: 12px;
  }
  
  #topbar .contact-info a:last-child {
    margin-right: 0 !important;
  }
  
  #topbar .contact-info i {
    font-size: 14px;
    margin-right: 5px;
  }
  
  /* Hide About section image on mobile */
  .about .col-lg-6.img {
    display: none !important;
  }
  
  /* Hide Certificate section image on mobile */
  .certification .certification-image {
    display: none !important;
  }
  
  /* Make content full width when images are hidden */
  .about .col-lg-6.content,
  .certification .col-lg-6:first-child {
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: var(--white-color);
  transition: all 0.5s;
  z-index: 996;
  height: 80px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 40px; /* Exactly at the bottom of topbar */
  left: 0;
  margin: 0;
  padding: 0;
  border-top: none;
}

#header.header-scrolled {
  top: 0 !important;
  height: 70px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
}

#header .logo img {
  max-height: 50px;
  transition: all 0.3s;
}

#header.header-scrolled .logo img {
  max-height: 40px;
}

.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar > ul > li {
  white-space: nowrap;
  padding: 10px 0 10px 28px;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-color);
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar > ul > li > a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: var(--primary-color);
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--primary-color);
}

.get-quote-btn {
  background: var(--primary-color);
  color: var(--white-color) !important;
  padding: 10px 25px !important;
  margin-left: 30px;
  border-radius: 50px;
  transition: 0.3s;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
  display: inline-block;
  text-align: center;
}

.get-quote-btn:hover {
  background: var(--secondary-color);
  color: var(--white-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 119, 0, 0.3);
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: var(--secondary-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  /* Improve touch target */
  padding: 12px;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.mobile-nav-toggle.ri-close-line {
  color: var(--primary-color);
}

/* Fallback when icon font fails to load (cPanel/CDN issues)
   JS adds .icons-fallback on <html> when Remix Icon isn't available */
.icons-fallback .mobile-nav-toggle {
  position: relative;
}
.icons-fallback .mobile-nav-toggle::before,
.icons-fallback .mobile-nav-toggle::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.icons-fallback .mobile-nav-toggle::before {
  top: 12px; /* top bar */
  box-shadow: 0 6px 0 0 currentColor, 0 12px 0 0 currentColor; /* middle and bottom bars */
}
.icons-fallback .mobile-nav-toggle.is-open::before {
  box-shadow: none;
  transform: rotate(45deg);
  top: 18px;
}
.icons-fallback .mobile-nav-toggle.is-open::after {
  content: '';
  top: 18px;
  transform: rotate(-45deg);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
    z-index: 1001; /* Above header content */
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(7, 30, 85, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--white-color);
}

.navbar-mobile ul {
  display: block !important; /* ensure visibility when inline CSS hides .navbar ul */
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 20px 0;
  background-color: var(--white-color);
  overflow-y: auto;
  transition: 0.3s;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.navbar-mobile > ul > li {
  padding: 0;
}

.navbar-mobile a, .navbar-mobile a:focus {
  padding: 15px 20px;
  font-size: 16px;
  color: var(--secondary-color);
  border-bottom: 1px solid #f5f5f5;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: var(--primary-color);
}

.navbar-mobile .get-quote-btn {
  margin: 15px 20px;
  display: block;
  text-align: center;
  padding: 15px !important;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 90vh;
  background: #f6f9fe;
  padding-top: 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero h1 {
  margin: 0 0 15px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-color);
}

#hero h2 {
  color: #555;
  margin-bottom: 30px;
  font-size: 22px;
  line-height: 1.4;
}

#hero .btn-get-started {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--white-color);
  background: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

#hero .btn-get-started:hover {
  background: var(--secondary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 119, 0, 0.3);
}

#hero .btn-watch-video {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--dark-color);
}

#hero .btn-watch-video i {
  font-size: 32px;
  line-height: 0;
  margin-right: 8px;
  color: var(--primary-color);
}

#hero .btn-watch-video:hover {
  color: var(--primary-color);
}

#hero .btn-watch-video:hover i {
  color: var(--secondary-color);
}

#hero .hero-img {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* Hero decorative shapes */
.hero-shape-1,
.hero-shape-2,
.hero-shape-3,
.hero-shape-4 {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero-shape-1 {
  top: 15%;
  right: 10%;
  width: 20px;
  height: 20px;
  background: #FF6464;
  opacity: 0.6;
}

.hero-shape-2 {
  bottom: 20%;
  right: 5%;
  width: 30px;
  height: 30px;
  background: #FF7700;
  opacity: 0.4;
}

.hero-shape-3 {
  top: 65%;
  left: 15%;
  width: 15px;
  height: 15px;
  background: #FF6464;
  opacity: 0.6;
}

.hero-shape-4 {
  bottom: 15%;
  left: 30%;
  width: 25px;
  height: 25px;
  background: #FFA500;
  opacity: 0.4;
}

@media (max-width: 991px) {
  #hero {
    height: auto;
    padding: 120px 0 60px 0;
  }
  #hero .hero-img {
    margin-top: 50px;
  }
  #hero .hero-img img {
    width: 80%;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  #hero .hero-img img {
    width: 100%;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }
  #hero .btn-get-started {
    padding: 10px 25px;
    font-size: 14px;
  }
  #hero .btn-watch-video {
    font-size: 14px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services {
  background-color: var(--white-color);
}

.featured-services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--white-color);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease-in-out;
  border-radius: 15px;
  z-index: 1;
  text-align: center;
  height: 100%;
}

.featured-services .icon-box::before {
  content: '';
  position: absolute;
  background: var(--light-accent);
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.4s;
  z-index: -1;
}

.featured-services .icon-box:hover::before {
  top: 0;
}

.featured-services .icon {
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s;
}

.featured-services .icon i {
  font-size: 36px;
  line-height: 0;
  color: var(--white-color);
}

.featured-services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.featured-services .title a {
  color: var(--dark-color);
  transition: 0.3s;
}

.featured-services .description {
  line-height: 24px;
  font-size: 14px;
}

.featured-services .icon-box:hover .icon {
  background: var(--white-color);
}

.featured-services .icon-box:hover .icon i {
  color: var(--primary-color);
}

.featured-services .icon-box:hover .title a {
  color: var(--secondary-color);
}

.service-box {
  margin-bottom: 30px;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--primary-color);
  line-height: 0;
  margin-top: 4px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--white-color);
  background: var(--primary-color);
  margin-top: 20px;
}

.about .content .read-more:hover {
  background: var(--secondary-color);
}

.about .img {
  border-radius: 15px;
  overflow: hidden;
}

.about .img img {
  transition: 0.5s;
}

.about .img:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(77, 77, 77, 0.8), rgba(77, 77, 77, 0.8)), url("../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
  color: var(--white-color);
}

.cta h3 {
  color: var(--white-color);
  font-size: 28px;
  font-weight: 700;
}

.cta h3 span {
  color: var(--secondary-color);
}

.cta p {
  color: var(--white-color);
}

.cta .cta-btn {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.cta .cta-btn:hover {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .service-item {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--white-color);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-radius: 15px;
  z-index: 1;
  height: 100%;
  text-align: center;
}

.services .service-item::before {
  content: '';
  position: absolute;
  background: var(--light-accent);
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.4s;
  z-index: -1;
}

.services .service-item:hover::before {
  top: 0;
}

.services .icon {
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s;
}

.services .icon i {
  font-size: 36px;
  line-height: 0;
  color: var(--white-color);
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--dark-color);
}

.services .service-item p {
  line-height: 24px;
  font-size: 15px;
  margin-bottom: 0;
}

.services .service-item:hover .icon {
  background: var(--secondary-color);
}

.services .service-item:hover h4 {
  color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Clients & Partners - Single Row Sliding Design
--------------------------------------------------------------*/
.clients, .partners {
  padding: 60px 0;
  overflow: hidden;
}

/* Clients and Partners Slider - Single Row Design */
.clients-slider, .partners-slider {
  overflow: hidden;
  margin: 0;
  padding: 20px 0;
}

.clients-slider .swiper-slide, .partners-slider .swiper-slide {
  text-align: center;
  padding: 10px 5px; /* Reduced padding for tighter spacing */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent; /* Remove background */
  border-radius: 0; /* Remove border radius */
  margin: 0 2px; /* Very small margins for tight spacing */
  box-shadow: none; /* Remove box shadow */
  width: auto !important;
  min-width: 120px; /* Minimum width to fit more logos */
  max-width: 180px; /* Maximum width for consistency */
}

.clients-slider .swiper-slide img, .partners-slider .swiper-slide img {
  max-width: 100%;
  max-height: 60px; /* Reduced height for more compact design */
  opacity: 1; /* Always full opacity - always colorful */
  transition: all 0.3s ease;
  filter: none; /* Remove grayscale filter - always colorful */
  object-fit: contain;
}

/* Force full-color logos on all environments (override any legacy grayscale rules) */
.clients-slider .swiper-slide img,
.partners-slider .swiper-slide img,
.clients img,
.partners img {
  filter: none !important;
  -webkit-filter: none !important;
}

.clients-slider .swiper-slide:hover img,
.partners-slider .swiper-slide:hover img,
.clients img:hover,
.partners img:hover {
  filter: none !important;
  -webkit-filter: none !important;
}

.clients-slider .swiper-slide img:hover, .partners-slider .swiper-slide img:hover {
  transform: scale(1.05); /* Slight hover effect */
  opacity: 1;
}

/* Remove pagination completely */
.clients .swiper-pagination, .partners .swiper-pagination {
  display: none !important;
}

/* Continuous sliding configuration - will be handled in JS */
.clients-slider .swiper-wrapper, .partners-slider .swiper-wrapper {
  transition-timing-function: linear;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  padding: 30px;
  background: var(--white-color);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.contact .info i {
  font-size: 20px;
  color: var(--primary-color);
  float: left;
  width: 44px;
  height: 44px;
  background: var(--light-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #555;
}

.contact .info .email, .contact .info .phone {
  margin-top: 30px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: var(--primary-color);
  color: var(--white-color);
}

.contact .php-email-form {
  padding: 30px;
  background: var(--white-color);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

.contact .php-email-form .form-group {
  padding-bottom: 10px;
}

.contact .php-email-form .form-control {
  height: 50px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #dce1eb;
  transition: 0.3s;
}

.contact .php-email-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.1);
}

.contact .php-email-form textarea.form-control {
  height: 160px;
}

.contact .php-email-form button[type="submit"] {
  background: var(--primary-color);
  border: 0;
  padding: 12px 30px;
  color: var(--white-color);
  border-radius: 50px;
  transition: 0.3s;
  font-weight: 600;
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--secondary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 119, 0, 0.3);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--dark-color);
  color: var(--white-color);
  font-size: 14px;
  padding: 0;
}

#footer .footer-top {
  background: #3a3a3a;
  padding: 60px 0 30px 0;
}

#footer .footer-top h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  color: var(--white-color);
}

#footer .footer-top h4 {
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  color: var(--white-color);
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
  bottom: 0;
  left: 0;
}

#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 li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 10px;
  font-size: 16px;
  color: var(--secondary-color);
  line-height: 1;
}

#footer .footer-top .footer-links ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--white-color);
  padding-left: 5px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .footer-top .footer-newsletter form {
  position: relative;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 10px 65px 10px 15px;
  width: 100%;
  border-radius: 50px;
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: var(--primary-color);
  font-size: 14px;
  color: var(--white-color);
  transition: 0.3s;
  border-radius: 0 50px 50px 0;
  padding: 0 20px;
  font-weight: 600;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: var(--secondary-color);
}

#footer .copyright {
  text-align: center;
  padding: 30px 0;
  color: var(--white-color);
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  line-height: 1;
  padding: 9px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: var(--primary-color);
  color: var(--white-color);
  text-decoration: none;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Core Values
--------------------------------------------------------------*/
.core-values {
  padding: 80px 0;
  background-color: var(--white-color);
}

.core-values .value-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--white-color);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-radius: 15px;
  text-align: center;
  height: 100%;
}

.core-values .value-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.core-values .icon {
  margin: 0 auto 20px auto;
  width: 70px;
  height: 70px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.core-values .icon i {
  font-size: 32px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.core-values .value-box:hover .icon {
  background: var(--primary-color);
}

.core-values .value-box:hover .icon i {
  color: var(--white-color);
}

.core-values .value-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--dark-color);
}

.core-values .value-box p {
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 0;
  color: #555;
}

/*--------------------------------------------------------------
# Scroll-Triggered Animations
--------------------------------------------------------------*/
.scroll-animated {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-animated.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Data flow section separators */
.data-flow-separator {
  position: relative;
  height: 100px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--light-accent) 0%, var(--gray-color) 100%);
  margin-top: -50px;
  margin-bottom: -50px;
  z-index: 1;
}

.data-packet-trail {
  position: absolute;
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  background: linear-gradient(90deg, 
    rgba(255,0,0,0), 
    rgba(255,119,0,0.05) 10%, 
    rgba(255,165,0,0.05) 30%, 
    rgba(255,165,0,0.05) 70%, 
    rgba(255,119,0,0.05) 90%, 
    rgba(255,0,0,0)
  );
  overflow: visible;
  box-shadow: 0 0 3px rgba(255, 165, 0, 0.03);
}

.data-packet {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--secondary-color);
  top: -1px;
  animation: flow-packet 40s ease-in-out infinite;
  box-shadow: 0 0 3px rgba(255, 165, 0, 0.1);
  opacity: 0.2;
}

.data-packet:nth-child(2) {
  animation-delay: 10s;
  top: -1px;
}

.data-packet:nth-child(3) {
  animation-delay: 20s;
  top: -1px;
}

.data-packet:nth-child(4) {
  animation-delay: 30s;
  top: -1px;
}

.data-packet:nth-child(5) {
  animation-delay: 40s;
  top: -1px;
}

@keyframes flow-packet {
  0% { 
    left: -10px; 
    transform: scale(0.3);
    opacity: 0;
  }
  15% {
    opacity: 0.2;
  }
  50% {
    transform: scale(0.6);
  }
  85% {
    opacity: 0.2;
  }
  100% { 
    left: calc(100% + 10px); 
    transform: scale(0.3);
    opacity: 0;
  }
}

/* Binary rain background for sections */
.binary-rain-bg {
  position: relative;
  overflow: hidden;
}

.binary-rain-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/binary-rain.png');
  opacity: 0.03;
  z-index: -1;
  animation: move-binary 20s linear infinite;
}

@keyframes move-binary {
  0% { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}

/* Interactive service boxes */
.service-box {
  transition: all 0.4s ease;
  cursor: pointer;
  perspective: 1000px;
}

.service-box:hover .icon-box {
  transform: translateZ(20px);
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

.service-box .icon {
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}

.service-box:hover .icon {
  transform: rotateY(180deg);
}

.service-box:hover .icon i {
  transform: rotateY(-180deg);
  transition: all 0.5s ease;
}

/* Fun core values animation */
.value-box {
  transition: all 0.5s ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.value-box::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(135deg, rgba(255,0,0,0.1), rgba(255,119,0,0.1));
  top: -25%;
  left: -25%;
  z-index: -1;
  transform: rotate(15deg) scale(0);
  transform-origin: center;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-box:hover {
  transform: translateY(-10px);
}

.value-box:hover::after {
  transform: rotate(15deg) scale(1);
}

.value-box .icon {
  position: relative;
  overflow: hidden;
}

.value-box .icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.4s ease;
  top: 0;
  left: 0;
}

.value-box:hover .icon::after {
  transform: scale(1);
}

.value-box:hover .icon i {
  color: white;
  position: relative;
  z-index: 2;
}

/* Services section fun effects */
.services .service-item {
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.services .service-item::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: -1;
}

.services .service-item:hover {
  transform: translateY(-10px);
}

.services .service-item:hover::after {
  transform: scaleX(1);
}

.services .service-item::before {
  content: attr(data-serial);
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 60px;
  font-weight: 700;
  color: rgba(255, 0, 0, 0.05);
  z-index: -1;
  transition: all 0.5s ease;
}

.services .service-item:hover::before {
  color: rgba(255, 0, 0, 0.1);
  transform: rotate(10deg) scale(1.2);
}

/* Service Link Styling */
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.service-link:hover {
  text-decoration: none;
  color: inherit;
}

.service-link:hover .service-item {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Navbar Shadow */
#header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Services Dropdown Menu */
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-toggle {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.navbar .dropdown-toggle::after {
  content: '\f107';
  font-family: 'remixicon' !important;
  font-size: 12px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Fallback chevron for dropdown when icons are missing */
.icons-fallback .navbar .dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
}

.navbar .dropdown:hover .dropdown-toggle::after,
.navbar .dropdown.active .dropdown-toggle::after {
  transform: rotate(180deg);
}

.navbar .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 10px 0;
  margin-top: 5px;
  display: none !important; /* Hide by default to avoid always-visible menus on some hosts */
  list-style: none;
}

/* Support Bootstrap 5 dropdown toggle via JS (.show class) */
.navbar .dropdown-menu.show {
  display: block !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .dropdown:hover .dropdown-menu,
.navbar .dropdown.active .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ensure desktop behavior regardless of other CSS on servers */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
  }
  .navbar .dropdown:hover .dropdown-menu,
  .navbar .dropdown.active .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Ensure dropdown stays open when hovering over menu items */
.navbar .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .dropdown-menu li {
  list-style: none;
  margin: 0;
  display: block;
  width: 100%;
}

.navbar .dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.navbar .dropdown-item:hover {
  background: #f8f9fa;
  color: #FF0000;
  border-left-color: #FF0000;
  text-decoration: none;
}

.navbar .dropdown-item:active {
  background: #e9ecef;
  color: #FF0000;
}

.navbar .dropdown-item.active {
  background: #FF0000;
  color: white;
  font-weight: 600;
}

.navbar .dropdown-item.active:hover {
  background: #e60000;
  color: white;
}

/* Mobile dropdown adjustments */
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
    display: none; /* Hidden by default; shown when toggled */
  }
  
  .navbar .dropdown-item {
    padding: 8px 0 8px 20px;
    font-size: 13px;
  }

  /* Show submenu when activated via JS */
  .navbar .dropdown .dropdown-menu.dropdown-active {
    display: block !important; /* override desktop hidden state */
  }
}

/* Contact form fun effects */
.contact .php-email-form .form-control {
  transition: all 0.3s ease;
  border: 1px solid #dce1eb;
  position: relative;
  overflow: hidden;
}

.contact .php-email-form .form-control:focus {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(255, 0, 0, 0.1);
}

.contact .php-email-form button[type="submit"] {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact .php-email-form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.contact .php-email-form button[type="submit"]:hover::before {
  left: 100%;
}



/* Circuit board section connectors */
.circuit-connector {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.circuit-path {
  position: absolute;
  background: rgba(255, 0, 0, 0.05);
  transition: all 0.5s ease;
}

.circuit-path.horizontal {
  height: 2px;
  width: 0%;
}

.circuit-path.vertical {
  width: 2px;
  height: 0%;
}

.circuit-path.animate-in.horizontal {
  width: 100%;
}

.circuit-path.animate-in.vertical {
  height: 100%;
}

.circuit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0;
  transition: all 0.5s ease;
  transform: scale(0);
}

.circuit-node.animate-in {
  opacity: 0.5;
  transform: scale(1);
}

/* Typing code effect */
.code-typing-section {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background-color: #1e1e1e;
  border-radius: 10px;
  color: #f8f8f8;
  font-family: 'Courier New', monospace;
  margin: 20px 0;
}

.code-typing-content {
  display: inline-block;
  white-space: nowrap;
  margin: 0;
  overflow: hidden;
  border-right: 2px solid var(--primary-color);
  width: 0;
  animation: typing 3s steps(40, end) forwards;
  animation-play-state: paused;
}

.code-typing-section.animate .code-typing-content {
  animation-play-state: running;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

.code-keyword { color: #569CD6; }
.code-string { color: #CE9178; }
.code-comment { color: #6A9955; }
.code-function { color: #DCDCAA; }
.code-variable { color: #9CDCFE; }

/* Data center loading animation */
.data-center-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.server-rack {
  display: flex;
  flex-direction: column;
  width: 60px;
  height: 100px;
  background: #333;
  border-radius: 5px;
  padding: 5px;
  margin: 0 10px;
}

.server-unit-led {
  width: 100%;
  height: 8px;
  background: #222;
  margin: 2px 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.server-unit-led::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 1.5px;
  right: 5px;
  animation: blink-led 1.5s infinite;
}

.server-unit-led:nth-child(2n)::after {
  background: var(--secondary-color);
  animation-delay: 0.5s;
}

.server-unit-led:nth-child(3n)::after {
  background: #33cc33;
  animation-delay: 0.3s;
}

@keyframes blink-led {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Floating tech terms */
.tech-terms-cloud {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.tech-term {
  position: absolute;
  font-size: 12px;
  color: rgba(255, 0, 0, 0.1);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.tech-term.animate-in {
  opacity: 0.5;
  transform: translateY(0);
}


/* Circuit board background patterns */
.circuit-bg {
  position: relative;
}

.circuit-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/circuit-pattern.png');
  opacity: 0.03;
  z-index: -1;
}

/* Terminal typing effect for Clients section */
.terminal-container {
  background-color: #1e1e1e;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  font-family: 'Courier New', monospace;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.terminal-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.terminal-controls {
  display: flex;
  gap: 8px;
  margin-right: 15px;
}

.terminal-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control-close {
  background-color: #ff5f56;
}

.control-minimize {
  background-color: #ffbd2e;
}

.control-maximize {
  background-color: #27c93f;
}

.terminal-title {
  color: #ddd;
  font-size: 14px;
  flex-grow: 1;
  text-align: center;
}

.terminal-content {
  color: #f8f8f8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
  overflow-x: auto;
  opacity: 0;
  max-width: 100%;
}

.terminal-content.animate {
  animation: terminal-typing 10s steps(40, end) forwards;
}

.terminal-content .user-input {
  color: #64dd17;
  opacity: 0.7;
}

.terminal-content .path {
  color: #00b0ff;
  opacity: 0.7;
}

.terminal-content .command {
  color: #ff9100;
  opacity: 0.7;
}

.terminal-content .result {
  color: #e0e0e0;
  opacity: 0.7;
}

@keyframes terminal-typing {
  0% {
    width: 0;
    opacity: 0;
  }
  5% {
    opacity: 0.7;
  }
  100% {
    width: 100%;
    opacity: 0.7;
  }
}

.terminal-cursor {
  display: inline-block;
  width: 10px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  animation: blink 1.5s step-end infinite;
  vertical-align: middle;
  margin-left: 5px;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* 3D rotating cube for section transitions */
.cube-container {
  perspective: 1000px;
  width: 100px;
  height: 100px;
  margin: 30px auto;
  position: relative;
  transform-style: preserve-3d;
}

.cube {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transform: translateZ(-50px);
  transition: transform 2s;
}

.cube.animate {
  animation: rotate-cube 20s infinite linear;
}

.cube-face {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(255, 119, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 22px;
  background: rgba(30, 30, 30, 0.7);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 15px rgba(255, 119, 0, 0.1);
}

.cube-face.front {
  transform: rotateY(0deg) translateZ(50px);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(50px);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(50px);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(50px);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(50px);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(50px);
}

.cube-label {
  font-size: 10px;
  margin-top: 5px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes rotate-cube {
  0% { transform: translateZ(-50px) rotateX(0deg) rotateY(0deg); }
  100% { transform: translateZ(-50px) rotateX(360deg) rotateY(360deg); }
}

/* Network nodes connection animation */
.network-map {
  position: relative;
  height: 300px;
  margin: 40px 0;
  overflow: hidden;
  background-color: rgba(248, 249, 250, 0.7);
  border-radius: 15px;
  box-shadow: inset 0 0 30px rgba(255, 165, 0, 0.05);
}

@media (max-width: 768px) {
  .network-map {
    height: 250px;
  }
}

.network-node {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), #FFA500);
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
  opacity: 0;
  transform: scale(0);
  transition: all 4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}

.network-node.animate {
  opacity: 0.4;
  transform: scale(1);
}

.network-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, #FFA500, transparent);
  transform-origin: left center;
  opacity: 0;
  transition: all 5s ease;
  z-index: 1;
}

.network-line.animate {
  opacity: 0.15;
}

.network-packet {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFA500;
  box-shadow: 0 0 5px rgba(255, 165, 0, 0.3);
  transform: scale(0);
  opacity: 0;
}

.network-packet.animate {
  animation: move-network-packet 15s ease-in-out forwards;
}

@keyframes move-network-packet {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  20% {
    transform: scale(0.6);
    opacity: 0.3;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    transform: scale(0.3);
    opacity: 0;
  }
}

/* CPU/RAM loading animations */
.system-metrics {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  flex-wrap: wrap;
}

.metric-container {
  width: 150px;
  text-align: center;
  margin: 10px;
}

@media (max-width: 576px) {
  .metric-container {
    width: 120px;
  }
}

.metric-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.metric-bar {
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.metric-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255, 119, 0, 0.5), rgba(255, 165, 0, 0.5));
  border-radius: 4px;
  transition: width 3s ease;
  position: relative;
}

.metric-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 100%
  );
  animation: metric-shine 5s infinite linear;
}

@keyframes metric-shine {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(150%); }
}

/* Radar scanning effect */
.radar-container {
  width: 200px;
  height: 200px;
  margin: 30px auto 10px;
  position: relative;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.01);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(255, 165, 0, 0.03);
}

@media (max-width: 768px) {
  .radar-container {
    width: 150px;
    height: 150px;
    margin: 20px auto 10px;
  }
}

.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0;
  left: 0;
  transform-origin: bottom right;
  background: linear-gradient(0deg, 
    rgba(255, 165, 0, 0) 0%,
    rgba(255, 165, 0, 0.03) 100%
  );
  opacity: 0;
}

.radar-sweep.animate {
  animation: radar-sweep 20s infinite linear;
  opacity: 0.8;
}

.radar-ping {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  transform: scale(0);
  opacity: 0;
}

.radar-ping.animate {
  animation: radar-ping 10s ease-out;
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radar-ping {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  5% {
    opacity: 0.1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Typing matrix effect */
.matrix-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.02);
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(255, 165, 0, 0.03);
  max-width: 100%;
}

.matrix-column {
  position: absolute;
  top: -200px;
  color: rgba(255, 119, 0, 0.2);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  text-shadow: 0 0 3px rgba(255, 165, 0, 0.1);
  pointer-events: none;
}

.matrix-column.animate {
  animation: matrix-fall var(--fall-duration) ease-in-out forwards;
  opacity: 0.2;
}

@keyframes matrix-fall {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 0.2;
  }
  85% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(400px);
    opacity: 0;
  }
}

/* Parallax gear animation */
.parallax-gears {
  position: relative;
  height: 150px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.gear {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  transform-origin: center;
}

.gear-1 {
  width: 90px;
  height: 90px;
  background-image: url('../img/gear-red.svg');
  top: 25px;
  left: 20%;
}

.gear-2 {
  width: 70px;
  height: 70px;
  background-image: url('../img/gear-orange.svg');
  top: 75px;
  left: calc(20% + 75px);
  animation-direction: reverse;
}

.gear-3 {
  width: 110px;
  height: 110px;
  background-image: url('../img/gear-red.svg');
  top: 55px;
  right: 25%;
}

.gear-4 {
  width: 80px;
  height: 80px;
  background-image: url('../img/gear-orange.svg');
  top: 100px;
  right: calc(25% + 85px);
  animation-direction: reverse;
}

.gear.animate {
  animation: rotate-gear 60s linear infinite;
}

@keyframes rotate-gear {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Loading bar for contact form */
.loading-bar-container {
  height: 3px;
  width: 100%;
  background-color: #f8f8f8;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 1.5px;
  position: relative;
}

.loading-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 119, 0, 0.4), rgba(255, 165, 0, 0.4));
  transition: width 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.loading-bar.animate {
  animation: loading-progress 6s ease forwards;
}

@keyframes loading-progress {
  0% { width: 0; }
  10% { width: 10%; }
  30% { width: 30%; }
  50% { width: 50%; }
  70% { width: 70%; }
  90% { width: 90%; }
  100% { width: 100%; }
}

/* Floating 3D icons */
.floating-3d-icon {
  width: 40px;
  height: 40px;
  position: absolute;
  transform-style: preserve-3d;
  transition: all 1s ease;
  opacity: 0;
  transform: translateZ(-20px) rotateX(0deg) rotateY(0deg);
}

.floating-3d-icon.animate {
  opacity: 0.6;
  animation: float-3d 15s infinite ease-in-out;
}

.icon-3d-side {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  opacity: 0.8;
}

.icon-3d-front {
  transform: translateZ(20px);
}

.icon-3d-back {
  transform: translateZ(-20px) rotateY(180deg);
}

.icon-3d-right {
  transform: translateX(20px) rotateY(90deg);
}

.icon-3d-left {
  transform: translateX(-20px) rotateY(-90deg);
}

.icon-3d-top {
  transform: translateY(-20px) rotateX(90deg);
}

.icon-3d-bottom {
  transform: translateY(20px) rotateX(-90deg);
}

@keyframes float-3d {
  0% {
    transform: translateZ(-20px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateZ(-20px) rotateX(5deg) rotateY(5deg);
  }
  50% {
    transform: translateZ(-20px) rotateX(0deg) rotateY(10deg);
  }
  75% {
    transform: translateZ(-20px) rotateX(-5deg) rotateY(5deg);
  }
  100% {
    transform: translateZ(-20px) rotateX(0deg) rotateY(0deg);
  }
}

.network-node.animate {
  opacity: 0.8;
  transform: scale(1);
}

.network-line.animate {
  opacity: 0.3;
}

@media (max-width: 768px) {
  .parallax-gears {
    height: 100px;
  }
  
  .gear {
    transform: scale(0.7);
  }
}

@media (max-width: 576px) {
  .cube-container {
    margin: 20px auto;
    transform: scale(0.8);
  }
}

/*--------------------------------------------------------------
# Partners
--------------------------------------------------------------*/

