:root {
  /* Enhanced color system with blue theme */
  --primary-blue: #122557;
  --accent-cyan: #00d4ff;
  --neutral-900: #1a1a1a;
  --neutral-800: #2d2d2d;
  --neutral-700: #4a4a4a;
  --neutral-600: #6b6b6b;
  --neutral-500: #8a8a8a;
  --neutral-400: #a8a8a8;
  --neutral-300: #c7c7c7;
  --neutral-200: #e5e5e5;
  --neutral-100: #f5f5f5;
  --neutral-50: #fafafa;

  /* Cold chain colors */
  --cold-blue: #1e88e5;
  --hot-red: #e53935;
  --gradient-cold: linear-gradient(135deg, #e3f2fd, #bbdefb);
  --gradient-hot: linear-gradient(135deg, #ffebee, #ffcdd2);

  /* Enhanced gradients */
  --gradient-primary: linear-gradient(135deg,
      var(--primary-blue),
      var(--primary-blue));
  --gradient-secondary: linear-gradient(135deg,
      var(--neutral-100),
      var(--neutral-50));
  --secondary-navy: #0a1a3a;

  /* Enhanced shadows */
  --shadow-sm: 0 2px 8px rgba(18, 37, 87, 0.08);
  --shadow-md: 0 4px 16px rgba(18, 37, 87, 0.12);
  --shadow-lg: 0 8px 32px rgba(18, 37, 87, 0.16);
  --shadow-xl: 0 16px 64px rgba(18, 37, 87, 0.2);

  /* Enhanced transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--neutral-900);
  background-color: var(--neutral-50);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Enhanced navbar with curves */

/* Fix navbar spacing */
.navbar {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000 !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(18, 37, 87, 0.1);
  transition: var(--transition);
  transform: translateY(0);
  box-shadow: var(--shadow-md);
  margin: 0;
  padding: 0.5rem 0;
  overflow: hidden ;
  width: 100%;
}



.navbar.scrolled {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(26, 26, 26, 0.98);
}

.display-2{
  font-size: 2.5rem !important;
  margin-bottom: .5rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: var(--bs-heading-color) !important;
}

/* Updated navbar brand to use logo */
.navbar-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-blue) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .navbar-brand {
  color: var(--neutral-900) !important;
}

/* Made navbar logo bigger */
.navbar-brand img {
  height: 50px;
  width: auto;
  margin-right: 0;
}

.nav-link {
  font-weight: 500 !important;
  color: var(--neutral-700) !important;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 1rem !important;
}

[data-theme="dark"] .nav-link {
  color: var(--neutral-300) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.mode-toggle {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  cursor: pointer;
}

.mode-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
}

/* Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Optional dark overlay for contrast */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Hero content above video */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

.hero .lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  
}

.btn-primary-custom,
.btn-outline-custom {
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

[data-theme="dark"] .btn-outline-custom {
  border-color: var(--neutral-900);
  color: var(--neutral-900);
}

.btn-primary-custom:hover,
.btn-outline-custom:hover {
  transform: translateY(-2px);
}

/* Enhanced statistics section */
.stats-section {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-video {
  margin: 0;
  padding: 0;
  display: block;
}







.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 26, 58, 0.6);
  z-index: 1;
}

/* Hero content - centered and properly aligned */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0;
  margin: 0;
}

.hero .container {
  padding-top: 0;
  padding-bottom: 0;
}

.hero .row {
  margin: 0;
}

.hero .col-lg-9 {
  padding: 0;
}



/* Ensure body doesn't have extra padding */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Remove any potential gaps from parent elements */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* Floating Metric - Desktop / Large Screens (≥800px) */
.floating-metric {
  position: absolute;
  bottom: 75px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  border: 2px solid black;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: floatUpDown 3s ease-in-out infinite;
  z-index: 5;
}

/* Typography inside floating metric */
.floating-metric .text-3xl {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary, #007bff);
}

.floating-metric .text-sm {
  font-size: 0.875rem;
  font-weight: bold;
  color: black !important;
}


/* Floating animation (desktop only) */
@keyframes floatUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Responsive - Mobile (<800px) */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 35px;
  }

  .floating-metric {
    position: relative;
    /* put it back into document flow */
    bottom: auto;
    right: auto;
    margin: 1.5rem auto 0;
    /* spacing at bottom */
    max-width: 350px;
    text-align: center;
  }

  .floating-metric .text-3xl {
    font-size: 1.5rem;
  }

  .floating-metric .text-sm {
    font-size: 0.8rem;
  }
}


/* Hero text alignment fixes */
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-top: 0;
}

.hero .lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Hero Buttons - fixed alignment */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 1rem 0;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  font-size: 1.1rem;
  border: none
}

.hero-buttons .btn-primary-custom {
  background: var(--gradient-primary);
  color: white;
}

.hero-buttons .btn-primary-custom:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #122557, #0088ff);
}

.hero-buttons .btn-outline-custom {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.hero-buttons .btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px);
  color: white;
}

/* Trust Indicators */
 .tracking-box input::placeholder {
    color: rgba(255, 255, 255, 0.8);
  }

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-badge i {
  margin-right: 0.7rem;
  color: #00d4ff;
  font-size: 1.3rem;
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    text-align: center;
    padding: 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }

  .trust-indicators {
    text-align: center;
  }

  .trust-indicators .d-flex {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }

  .hero .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 100vh;
    padding: 0;
  }

  .hero-buttons .btn {
    padding: 0.875rem 1.5rem;
    min-width: 160px;
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .lead {
    font-size: 1rem;
  }
}

/* Remove any Bootstrap default padding/margin that might cause gaps */
.container-fluid,
.container {
  padding-left: 0;
  padding-right: 0;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.col-lg-9,
.col-lg-3,
.col-md-6,
.col-sm-12 {
  padding-left: 0;
  padding-right: 0;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.metric-value .unit {
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 3px;
  opacity: 0.8;
}


.metric-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Enhanced temperature animations */
#cold-chain h2 {
  font-weight: 400;
  color: white;
}



.temperature-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.cold-card {
  background: var(--gradient-cold);
  color: var(--cold-blue);
}

.hot-card {
  background: var(--gradient-hot);
  color: var(--hot-red);
}

.temperature-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.snowflake,
.flame {
  position: absolute;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.snowflake {
  color: rgba(30, 136, 229, 0.6);
  animation-name: snowfall;
}

.flame {
  color: rgba(229, 57, 53, 0.6);
  animation-name: flamerise;
}

@keyframes snowfall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(400px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes flamerise {
  0% {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) scale(1.2);
    opacity: 0;
  }
}

/* Enhanced global network with map animations */
.global-network {
  padding: 6rem 0;
  background: white;
  position: relative;
  overflow: hidden;
  padding-bottom: 0rem !important;
}

.global-network h2 {
  font-weight: 400;
  color: var(--neutral-900);
}

.network-pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-network 2s infinite;
}

@keyframes pulse-network {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(0, 212, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}

.network-map {
  background: rgba(0, 102, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      var(--accent-cyan),
      transparent);
  animation: connection-flow 3s infinite;
}

@keyframes connection-flow {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}


.services-section .service-card {
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 102, 255, 0.1);
  background: var(--neutral-50);
  color: var(--neutral-900);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto; /* remove fixed height */
  min-height: 300px; /* ensures visual balance */
  overflow: hidden;
  position: relative;
}

.services-section .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.services-section .service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.services-section .service-card:hover::before {
  transform: scaleX(1);
}

/* ICON + HEADING INLINE */
.services-section .service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between ;
  width: 100%;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.services-section .service-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
  margin-bottom: 0; /* remove extra spacing */
}

.services-section .service-card h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}


/* Enhanced service cards */
.service-card {
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 102, 255, 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--neutral-50);
  color: var(--neutral-900);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

/* Enhanced ticker */
.ticker-container {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-content {
  display: inline-block;
  animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-block;
  margin-right: 4rem;
  font-weight: 600;
}

/* Enhanced testimonials */
#testimonials{
  max-width: 100% !important;
}
#testimonials h2 {
  font-weight: 400;
  color: var(--neutral-900);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.testimonial-card {
  min-width: 350px;
  background: var(--neutral-50);
  border-radius: 20px;
  padding: 2rem;
  margin: 0 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 102, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--neutral-700);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.author-info h5 {
  margin: 0;
  color: var(--neutral-900);
}

.author-info p {
  margin: 0;
  color: var(--neutral-600);
  font-size: 0.875rem;
}

.stars {
  color: #ffd700;
  margin-bottom: 1rem;
}

/* Added contact info section styles */
#contact {
  padding: 100px 0px;
  background: var(--neutral-100);
}

.contact-feature i {
  color: var(--primary-blue);
}

#contact h2 {
  font-weight: 400;
  color: var(--neutral-900);
}

#contact h6 {
  color: var(--neutral-900);
}

.contact-info {
  background: var(--primary-blue);
  color: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.contact-info h3 {
  color: white;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-item h5 {
  color: white;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 2px solid var(--neutral-200);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--neutral-50);
  color: var(--neutral-900);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(18, 37, 87, 0.1);
  outline: none;
  background: var(--neutral-50);
}

.floating-stat-card {
  background: var(--neutral-50);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.floating-stat-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 40px;
  color: white;
  width: 70px;
  height: 70px;
  line-height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
}

.stat-icon i {
  font-size: 26px;
}

.stat-content {
  font-family: "Inter", sans-serif;
}

.stopwatch-counter,
.stat-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.stat-suffix {
  font-size: 1.2rem;
  color: var(--neutral-600);
  margin-left: 4px;
}

.stat-label {
  margin-top: 5px;
  font-size: 1rem;
  color: var(--neutral-500);
}

/* AI Monitoring pulse effect */
.ai-monitoring .pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 255, 255, 0.7);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 255, 255, 0.7);
  }
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 3rem;
}

/* Enhanced footer */
.footer {
  background: var(--neutral-50);
  color: var(--neutral-900);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

/* Making footer logo smaller and more visible */
.footer-logo {
  height: 40px !important;
  width: auto !important;
  filter: brightness(1.2) contrast(1.1);
  transition: all 0.3s ease;
}

.footer-logo:hover {
  filter: brightness(1.4) contrast(1.2);
  transform: scale(1.05);
}

.footer-section h5 {
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--neutral-600);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-blue);
}

.bottom p{
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

#testimonialTrack {
  display: flex;
  transition: none;
  will-change: transform;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-3px);
  color: white;
}

.designer-link {
  color: black;
  /* highlight color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.designer-link:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Enhanced responsive design for mobile */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 45px;
  }

  .hero {
    padding-top: 40px;
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .lead {
    font-size: 1.1rem;
  }

  .testimonial-card {
    min-width: 280px;
  }

  .dashboard-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quote-form,
  .contact-info {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .quote-form,
  .contact-info {
    padding: 1.5rem;
  }
}

/* Animation classes for scroll effects */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

/* Updated quote and contact sections */
.quote-form {
  background: var(--neutral-50);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 102, 255, 0.1);
}



/* Added excellence section styles */
/* Section background */
.excellence-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-navy) 100%);
  color: white;
  padding: 80px 0;
  position: relative;
 overflow: hidden;
 
}

/* Section heading */
.excellence-section h2 {
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.certificate-section.horizontal-scroll {
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 20px 10px;
  scroll-behavior: smooth;
  background: transparent;
}

/* Hide scrollbar */
.certificate-section.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

/* Track flex container */
.certificate-track {
  display: flex;
  gap: 0px;
  width: fit-content;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  animation: scroll-carousel 60s linear infinite running; 
  
}
.certificate-track:hover {
    animation-play-state: paused;
}



.certificate-track::-webkit-scrollbar {
  display: none;
}

/* Certificate Card */
.certificate-card {
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  margin: 15px 10px 15px 0; 
  background: rgba(255, 255, 255, 0.08);
  /* Translucent white */
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Ensure smooth transitions */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  /* Ensures padding is included in width */
}

/* Hover effects */
.certificate-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Logo container */
.certificate-logo-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.certificate-card:hover .certificate-logo-container {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

/* Glowing ring effect */
.certificate-logo-container::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ---------------- CSS ADDITIONS/MODIFICATIONS ---------------- */

/* Keyframes for the seamless loop */
@keyframes scroll-carousel {
    from {
        transform: translateX(0);
    }
    to {
        /* CRITICAL: Translates exactly the width of the original content */
        transform: translateX(-50%); 
    }
}





.certificate-card:hover .certificate-logo-container::after {
  opacity: 0.5;
}

/* Logo inside */
.certificate-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Certificate Name FIX */
.certificate-name {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  text-align: center;
  width: 100%;

  /* --- The fix: Explicitly enforce normal wrapping behavior --- */
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  /* ------------------------------------------------------------- */

  margin: 12px 0;
}


/* Badge */
.certificate-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 6px 15px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.certificate-card:hover .certificate-badge {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Fade-in animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .certificate-logo-container {
    width: 90px;
    height: 90px;
  }

  .certificate-name {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {

  .certificate-name {
    font-size: 0.9rem;
  }

  .certificate-track {
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .certificate-card {
    min-width: 240px;
    max-width: 240px;
    width: 180px;
    margin: 8px;
    padding: 20px 10px;
  }

  .certificate-track {
    gap: 10px;
  }

  .certificate-logo-container {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
  }

  .certificate-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
}


/* Excellence Section Paragraph */
.excellence-description {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 25px 30px;
  text-align: center;
  color: #f1f1f1;
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 400;
  max-width: 900px;
  margin: auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.excellence-description:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.excellence-description .highlight {
  font-weight: 600;
  color: var(--gradient-primary, #00d4ff);
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .excellence-description {
    font-size: 1rem;
    padding: 20px;
  }
}

/* Wrapper for each logo */
.logo-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  /* fixed height for uniformity */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Hover effect */
.logo-box:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

/* Logo image should fill container */
.network-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* ensures logos don’t stretch */
  transition: all 0.3s ease;

}

/* Optional glow on hover */
.logo-box:hover .network-logo {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-box {
    height: 130px;
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .logo-box {
    height: 110px;
    padding: 12px;
  }
}







/* About Section */
#about {
  padding: 6rem 0;
  background: var(--neutral-50);
}

#about h2 {
  font-weight: 400;
  color: var(--neutral-900);
}

#about p,
#about li {
  color: var(--neutral-700);
}

#about h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

#about ul {
  padding-left: 1.5rem;
}

#about li {
  margin-bottom: 0.5rem;
}

/* Quote Button Styles */
.btn-quote-pulse {
  position: relative;
  overflow: hidden;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none !important;

}

/* Pulse animation */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 212, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}

.btn-quote-pulse {
  animation: pulse-glow 2s infinite;
}

/* Hover effects */
.btn-quote-pulse:hover {
  animation: none;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4) !important;
}

/* Ripple effect */
.btn-quote-pulse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-quote-pulse:hover::before {
  width: 300px;
  height: 300px;
}

/* Ensure the button text stays above ripple */
.btn-quote-pulse span,
.btn-quote-pulse i {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-quote-pulse {
    font-size: 1.5rem !important;
    padding: 1rem 2rem !important;
  }
}

@media (max-width: 576px) {
  .btn-quote-pulse {
    font-size: 1.25rem !important;
    padding: 0.875rem 1.5rem !important;
  }
}




.features-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
 
}

.section-header {
  margin-bottom: 2rem;
}


.section-header p {
  font-size: 1.1rem;
  color: #555;
}

/* Layout */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

/* Feature Card */
.feature-card {
  position: relative;
  background: var(--bg-img) no-repeat center center/cover;
  width: 45%;
  height: 200px;
  border-radius: 24px;
  color: #fff;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  
}

/* Overlay Gradient */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
  z-index: 1;
  border-radius: inherit;
}

/* Hover */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}



/* Card Content */
/* Card Content */
.card-content {
  position: relative;
  z-index: 3;
  padding: 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;            /* space from card edges */
}

/* Text */
.card-content h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* show only 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;    /* don't break words */
  white-space: normal;
  line-height: 1.4;
  font-size: 1.2rem;
  color: #fff;

  text-align: center;
}

/* Button */
.view-more-btn {
  background: #fff;
  color: #111;
  font-weight: 600;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.view-more-btn:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-card {
    width: 48%;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .feature-card {
    width: 100%;
    height: 180px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  overflow-y: auto;
  z-index: 2999 !important;
  backdrop-filter: blur(5px);
}

/* Modal Container */
.modal-content {
  background: #fff;
  color: #333;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  animation: fadeIn 0.3s ease;
  margin: auto;
  box-sizing: border-box;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

/* Logo & Close Section */
.modal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-logo {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.close {
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

.close:hover {
  color: #000;
}

/* Header */
.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

/* Body Text */
.modal-content p {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #444;
  margin-bottom: 15px;
}

/* Lists */
.modal-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.modal-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 12px 0;
  padding-left: 28px; /* space for icon */
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  line-height: 1.5;
  color: #333;
}

/* Icon bullet */
.modal-list li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1rem;
  color: var(--primary-blue);
  line-height: 1.2;
}

/* Strong heading (title line) */
.modal-list li strong {
  display: block;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #000;
  margin-bottom: 2px;
  text-transform: none;
}

/* Description text (under strong) */
.modal-list li span {
  display: block;
  color: #555;
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  line-height: 1.5;
  padding-left: 2px;
  max-width: 100%;
}

/* Optional subtle divider */
.modal-list li:not(:last-child) {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 10px;
}

/* Responsive fine-tuning */
@media (max-width: 600px) {
  .modal-list li {
    padding-left: 25px;
  }
  .modal-list li strong {
    font-size: 0.95rem;
  }
  .modal-list li span {
    font-size: 0.85rem;
  }
}

/* Benefits Box */
.modal-benefits {
  background: #f8f9fa;
  padding: 15px 20px;
  border-left: 4px solid var(--primary-blue);
  border-radius: 8px;
}

.modal-benefits h3 {
  margin-bottom: 8px;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: #222;
}

.modal-benefits p {
  margin: 0;
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  color: #555;
  line-height: 1.5;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ Responsive adjustments */
@media (max-width: 1024px) {
  .modal-content {
    width: 95%;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 100%;
    padding: 20px;
    margin-top: 10%;
  }
  .modal-header h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 16px;
  }
  .modal-logo {
    width: 70px;
  }
  .close {
    font-size: 1.5rem;
  }
  .modal-header h2 {
    font-size: 1.2rem;
  }
}

@media (max-height: 600px) {
  .modal {
    align-items: flex-start;
    padding-top: 10px;
  }
  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
}





/* Comprehensive section  */


.services-section {
  padding: 80px 0;
}

/* Service Card */
.services-section .service-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.1);
  transition: all 0.35s ease;
  height: 100%;
  min-height: 350px; /* Ensures consistent card height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  overflow: hidden;
}

/* Subtle top accent bar */
.services-section .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.services-section .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.services-section .service-card:hover::before {
  transform: scaleX(1);
}

/* Header: Title + Icon aligned */
.services-section .service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
}

/* Icon box */
.services-section .service-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-blue) ;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Title */
.services-section .service-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #111;
  margin: 0;
}

/* Paragraph text */
.services-section .service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0rem !important;
}

/* Image styling */
.services-section .service-card img {
  border-radius: 12px;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Hover accent on image */
.services-section .service-card:hover img {
  transform: scale(1.03);
  transition: 0.4s ease;
}

/* Responsive Fixes */
@media (max-width: 992px) {
  .services-section .service-card {
    min-height: 340px;
  }
}

@media (max-width: 768px) {
  .services-section.service-card {
    min-height: 300px;
  }
}