/* Custom CSS for QuickSense Website */

/* Font Imports */
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

/* Color Variables */
:root {
  --primary-teal: #20b2aa;
  --primary-orange: #ff8c00;
  --primary-pink: #e91e63;
  --primary-blue: #2196f3;
  --primary-green: #0b9443;
  --light-green: #4caf50;
  --dark-green: #087f3a;
}

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

/* Gradient Backgrounds */
.gradient-bg {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-orange) 50%, var(--primary-pink) 100%);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-orange) 50%, var(--primary-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Gradient Animation */
.animate-gradient {
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced gradient shift animation for footer */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
    opacity: 0.3;
  }
  25% {
    background-position: 100% 50%;
    opacity: 0.2;
  }
  50% {
    background-position: 100% 100%;
    opacity: 0.4;
  }
  75% {
    background-position: 0% 100%;
    opacity: 0.1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.3;
  }
}

/* Floating Animation */
.floating-animation {
  animation: float 6s ease-in-out infinite;
}

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

.p_100{
  padding: 100px 0px;
}
/* Navigation Styles */
.navbar {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.8rem !important;
}

.nav-link {
  font-weight: 500;
  color: #333 !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-teal) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
  position: relative;
}

/* Enhanced floating particles with more dynamic movement */
.floating-particles {
  pointer-events: none;
}

.floating-particles::before,
.floating-particles::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-teal);
  border-radius: 50%;
  opacity: 0.2;
  animation: floatParticles 8s ease-in-out infinite;
}

.floating-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  width: 6px;
  height: 6px;
}

.floating-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 4s;
  width: 10px;
  height: 10px;
}

@keyframes floatParticles {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.2;
  }
  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-10px) translateX(-15px) rotate(180deg);
    opacity: 0.1;
  }
  75% {
    transform: translateY(-40px) translateX(10px) rotate(270deg);
    opacity: 0.3;
  }
}

/* Card Hover Effects */
.hover-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.hover-card:hover .card-title {
  color: var(--primary-teal) !important;
}

.hover-card:hover .text-success {
  transform: scale(1.1);
}

/* Image Filters */
.grayscale {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.hover-color:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Button Styles */
.btn {
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-success {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-outline-success:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
}

/* Added hover scale animation for buttons and social media */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Form Styles */
.form-control {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
}

/* Badge Styles */
.badge {
  font-weight: 500;
  padding: 8px 12px;
}

/* Footer Hover Effects */
.hover-underline:hover {
  text-decoration: underline !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .display-1 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}

/* Custom Bootstrap Overrides */
.text-success {
  color: var(--primary-green) !important;
}

.bg-success {
  background-color: var(--primary-green) !important;
}

.border-success {
  border-color: var(--primary-green) !important;
}

.text-primary {
  color: var(--primary-teal) !important;
}

.bg-primary {
  background-color: var(--primary-teal) !important;
}

.border-primary {
  border-color: var(--primary-teal) !important;
}

.btn-primary {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
}

.btn-outline-primary {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.btn-outline-primary:hover {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  color: white;
}

/* Loading Animation for Images */
img {
  transition: transform 0.3s ease;
}

.card img:hover {
  transform: scale(1.05);
}

/* Scroll to Top Button (if needed) */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-teal);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  z-index: 1000;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
}
