/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Custom CSS for Technodrills */
:root {
  --primary-blue: #1e40af;
  --primary-blue-dark: #1e3a8a;
  --primary-blue-light: #3b82f6;
  --primary-blue-lighter: #60a5fa;
  --accent-orange: #f59e0b;
  --accent-orange-light: #fbbf24;
  --accent-orange-dark: #d97706;
  --dark-blue: #0f172a;
  --light-gray: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --success-green: #10b981;
  --warning-yellow: #f59e0b;
  --error-red: #ef4444;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* 3D Background Effects */
.bg-3d {
  position: relative;
  overflow: hidden;
}

.bg-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

/* Floating Vector Elements */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float-shape 15s ease-in-out infinite;
}

.shape-1 {
  top: 10%;
  left: 10%;
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  border-radius: 50%;
  animation-delay: 0s;
}

.shape-2 {
  top: 20%;
  right: 15%;
  width: 40px;
  height: 40px;
  background: var(--accent-orange);
  border-radius: 50%;
  animation-delay: 2s;
}

.shape-3 {
  bottom: 20%;
  left: 20%;
  width: 80px;
  height: 80px;
  background: var(--primary-blue-light);
  border-radius: 50%;
  animation-delay: 4s;
}

.shape-4 {
  bottom: 30%;
  right: 10%;
  width: 50px;
  height: 50px;
  background: var(--accent-orange-light);
  border-radius: 50%;
  animation-delay: 6s;
}

.shape-5 {
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: var(--primary-blue);
  border-radius: 50%;
  animation-delay: 8s;
}

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

/* Header Styles with 3D Effects */
.navbar {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  box-shadow: 
    0 4px 20px rgba(30, 64, 175, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navbar-brand::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: left 0.5s ease;
}

.navbar-brand:hover::before {
  left: 100%;
}

.navbar-brand:hover {
  transform: scale(1.05);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--accent-orange);
  transition: left 0.3s ease;
}

.navbar-nav .nav-link:hover::before {
  left: 0;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Enhanced navbar for mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(30, 64, 175, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
    text-align: center;
    border-radius: 10px;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
  }
}

/* Navbar scroll effect */
.navbar.scrolled {
  background: rgba(30, 64, 175, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(30, 64, 175, 0.2);
}

/* Active nav link */
.navbar-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: white !important;
  border-radius: 25px;
}

/* Navbar brand icon animation */
.navbar-brand i {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Enhanced Carousel Styles */
.carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 20px 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.carousel-item {
  height: 600px;
  position: relative;
  overflow: hidden;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.carousel-content {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.carousel-text {
  color: white;
  padding: 2rem 0;
}

.carousel-text .badge {
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: slideInLeft 0.8s ease-out 0.2s both;
  position: relative;
  overflow: hidden;
}

.carousel-text .badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.carousel-text .badge:hover::before {
  left: 100%;
}

.carousel-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(45deg, white, var(--accent-orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInLeft 0.8s ease-out 0.4s both;
  position: relative;
}

.carousel-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--primary-blue));
  animation: expandLine 1s ease-out 1.2s forwards;
}

@keyframes expandLine {
  to { width: 100px; }
}

.carousel-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  animation: slideInLeft 0.8s ease-out 0.6s both;
}

.carousel-features {
  margin-bottom: 2rem;
  animation: slideInLeft 0.8s ease-out 0.8s both;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  transform: translateX(-20px);
  opacity: 0;
  animation: slideInLeft 0.6s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 1s; }
.feature-item:nth-child(2) { animation-delay: 1.2s; }
.feature-item:nth-child(3) { animation-delay: 1.4s; }

.feature-item i {
  margin-right: 0.8rem;
  font-size: 1.1rem;
  color: #10b981;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

.carousel-buttons {
  animation: slideInLeft 0.8s ease-out 1s both;
}

.carousel-buttons .btn {
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 50px;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.carousel-buttons .btn::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: left 0.5s ease;
}

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

.carousel-buttons .btn:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInRight 0.8s ease-out 0.5s both;
}

.hero-image {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-image.mobile {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.1));
}

.hero-image.ecommerce {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.element {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float-element 8s ease-in-out infinite;
  transition: all 0.3s ease;
}

.element:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.2);
}

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

.element-2 {
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.element-3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float-element {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) rotate(0deg); 
    opacity: 0.7;
  }
  25% { 
    transform: translateY(-20px) translateX(10px) rotate(90deg); 
    opacity: 1;
  }
  50% { 
    transform: translateY(-10px) translateX(-10px) rotate(180deg); 
    opacity: 0.8;
  }
  75% { 
    transform: translateY(15px) translateX(5px) rotate(270deg); 
    opacity: 1;
  }
}

/* Enhanced Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 20px;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: scale(1.2);
}

/* Vector Background Elements */
.carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  z-index: 1;
  animation: float 20s ease-in-out infinite;
}

/* Geometric Vector Shapes */
.carousel::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotate 10s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Additional Vector Elements */
.carousel .vector-element {
  position: absolute;
  z-index: 1;
  opacity: 0.1;
  animation: float-vector 15s ease-in-out infinite;
}

.carousel .vector-element:nth-child(1) {
  top: 15%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 0s;
}

.carousel .vector-element:nth-child(2) {
  bottom: 20%;
  right: 5%;
  width: 40px;
  height: 40px;
  background: var(--accent-orange);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  animation-delay: 3s;
}

.carousel .vector-element:nth-child(3) {
  top: 50%;
  left: 15%;
  width: 50px;
  height: 50px;
  background: var(--primary-blue-light);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation-delay: 6s;
}

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

/* Responsive Carousel */
@media (max-width: 768px) {
  .carousel-item {
    height: 400px;
  }
  
  .carousel-title {
    font-size: 2.2rem;
  }
  
  .carousel-description {
    font-size: 1rem;
  }
  
  .hero-image {
    width: 150px;
    height: 150px;
    font-size: 3rem;
  }
  
  .element {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    height: 350px;
  }
  
  .carousel-title {
    font-size: 1.8rem;
  }
  
  .carousel-text {
    text-align: center;
  }
  
  .carousel-visual {
    margin-top: 2rem;
  }
  
  .hero-image {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
  }
}

/* Enhanced Buttons with 3D Effects */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(37, 99, 235, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.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: left 0.5s ease;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
  box-shadow: 
    0 8px 25px rgba(37, 99, 235, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(249, 115, 22, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-accent::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: left 0.5s ease;
}

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

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-orange-light), var(--accent-orange));
  box-shadow: 
    0 8px 25px rgba(249, 115, 22, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Enhanced Section Styles */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
  transform: perspective(1000px) rotateX(0deg);
  transition: transform 0.3s ease;
}

.section-title:hover {
  transform: perspective(1000px) rotateX(2deg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
  border-radius: 2px;
  animation: expand 0.6s ease-out;
}

@keyframes expand {
  from { width: 0; }
  to { width: 60px; }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Enhanced Service Cards with 3D Effects */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  box-shadow: 
    0 20px 40px rgba(37, 99, 235, 0.15),
    0 0 0 1px rgba(37, 99, 235, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 20px rgba(30, 64, 175, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.service-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) perspective(1000px) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) perspective(1000px) rotateX(0deg);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) perspective(1000px) rotateY(-10deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) perspective(1000px) rotateY(0deg);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px) perspective(1000px) rotateY(10deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) perspective(1000px) rotateY(0deg);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

/* Parallax Effect */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  transform: translateY(0);
  transition: transform 0.1s ease;
}

/* Enhanced Form Styles */
.form-control {
  border: 2px solid rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Enhanced Footer */
footer {
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
  animation: float 15s ease-in-out infinite reverse;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .carousel-item {
    height: 400px;
  }
  
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Loading Animation */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(37, 99, 235, 0.1);
  border-left: 4px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Modern Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: var(--text-dark);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
  animation: slideInLeft 0.8s ease-out;
}

.hero-badge i {
  margin-right: 8px;
  font-size: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  animation: slideInLeft 0.8s ease-out 0.6s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon {
  width: 20px;
  height: 20px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  animation: pulse 2s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  animation: slideInLeft 0.8s ease-out 0.8s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideInLeft 0.8s ease-out 1s both;
}

.hero-buttons .btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-buttons .btn::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: left 0.5s ease;
}

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

.hero-buttons .btn:hover {
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: white;
}

.hero-buttons .btn-outline-primary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.hero-buttons .btn-outline-primary:hover {
  background: var(--primary-blue);
  color: white;
}

/* Hero Visual Section */
.hero-visual {
  position: relative;
  animation: slideInRight 0.8s ease-out 0.5s both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-graphic {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.3);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 10;
}

.orbit {
  position: absolute;
  border: 2px dashed rgba(30, 64, 175, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.orbit-1 {
  width: 200px;
  height: 200px;
  animation-duration: 15s;
}

.orbit-2 {
  width: 250px;
  height: 250px;
  animation-duration: 20s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 300px;
  height: 300px;
  animation-duration: 25s;
}

.orbit-item {
  position: absolute;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: counter-rotate 20s linear infinite;
}

.orbit-1 .orbit-item {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 15s;
}

.orbit-2 .orbit-item {
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  animation-duration: 20s;
  animation-direction: reverse;
}

.orbit-3 .orbit-item {
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 25s;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes counter-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.floating-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  animation: float-dot 8s ease-in-out infinite;
}

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

.dot-2 {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.dot-3 {
  bottom: 30%;
  left: 10%;
  animation-delay: 4s;
}

.dot-4 {
  bottom: 20%;
  right: 25%;
  animation-delay: 6s;
}

.dot-5 {
  top: 50%;
  left: 5%;
  animation-delay: 1s;
}

@keyframes float-dot {
  0%, 100% { 
    transform: translateY(0px) scale(1); 
    opacity: 0.7;
  }
  50% { 
    transform: translateY(-20px) scale(1.2); 
    opacity: 1;
  }
}

.tech-highlights {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out 1.2s both;
  min-width: 120px;
}

.tech-highlight:nth-child(1) { animation-delay: 1.4s; }
.tech-highlight:nth-child(2) { animation-delay: 1.6s; }
.tech-highlight:nth-child(3) { animation-delay: 1.8s; }

.tech-highlight:hover {
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.tech-highlight i {
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.tech-highlight span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-graphic {
    width: 250px;
    height: 250px;
  }
  
  .main-circle {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
  
  .orbit-1 { width: 160px; height: 160px; }
  .orbit-2 { width: 200px; height: 200px; }
  .orbit-3 { width: 240px; height: 240px; }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .tech-highlights {
    gap: 1rem;
  }
  
  .tech-highlight {
    min-width: 100px;
    padding: 0.8rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-graphic {
    width: 200px;
    height: 200px;
  }
  
  .main-circle {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  
  .orbit-1 { width: 120px; height: 120px; }
  .orbit-2 { width: 150px; height: 150px; }
  .orbit-3 { width: 180px; height: 180px; }
}
