/* Hero Section Animations and Styling */

/* Import AOS library */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* Hero section base styling */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Animated background elements */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.1); /* Using primary color with opacity */
  animation: float 15s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -50px;
  animation-delay: 0s;
}

.shape-2 {
  width: 250px;
  height: 250px;
  bottom: 0px;
  left: -5%;
  background: rgba(30, 58, 138, 0.15); /* Using danger color with opacity */
  animation-delay: 2s;
  animation-duration: 18s;
}

.shape-3 {
  width: 180px;
  height: 180px;
  bottom: 40%;
  left: 5%;
  background: rgba(37, 99, 235, 0.15); /* Using blue color with opacity */
  animation-delay: 4s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: -40px;
  background: rgba(94, 98, 130, 0.12); /* Using secondary color with opacity */
  animation-delay: 3s;
  animation-duration: 20s;
}

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

/* Hero title styling */
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #0A0D14;
}

.highlight-text {
  color: var(--bs-primary);
  background: linear-gradient(90deg, #1e3a8a, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  position: relative;
}

/* Removing the underline effect */
.highlight-text::after {
  display: none;
}

/* Style for 'with Technology' text */
.with-tech {
  font-weight: 700;
  color: #0A0D14;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

/* Hero image styling */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-image-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, rgba(2, 132, 199, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 4s infinite ease-in-out;
}

.hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(37, 99, 235, 0.1));
  animation: float-image 6s infinite ease-in-out;
  z-index: 2;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

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

/* Floating cards */
.floating-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
  z-index: 3;
  animation: float-card 5s infinite ease-in-out;
}

.floating-card i {
  color: var(--bs-primary);
  font-size: 1.2rem;
}

.floating-card span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bs-secondary);
}

.card-1 {
  top: 20%;
  left: 0;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: 0;
  animation-delay: 1.5s;
}

.card-3 {
  bottom: 15%;
  left: 20%;
  animation-delay: 3s;
}

@keyframes float-card {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-10px) translateX(5px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Stats container styling */
.stats-container {
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

.stat-item h3 {
  color: var(--bs-primary);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.stat-item p {
  color: var(--bs-secondary);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Button animations */
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px);
}

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

.btn-primary::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.6s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.primary-btn-shadow {
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3);
}

/* Badge styling */
.badge {
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(30, 58, 138, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .floating-card {
    padding: 8px 12px;
  }
  
  .floating-card i {
    font-size: 1rem;
  }
  
  .floating-card span {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-section {
    min-height: auto;
    padding-bottom: 3rem;
  }
  
  .floating-card {
    display: none;
  }
  
  .stat-item h3 {
    font-size: 1.2rem;
  }
}
