/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Base Styles & Variables */
:root {
  --primary-color: #0a2647;
  --secondary-color: #144272;
  --accent-color: #00a6fb;
  --highlight-color: #4cc9f0;
  --text-color: #e6f1ff;
  --dark-bg: #051630;
  --card-bg: rgba(13, 41, 85, 0.7);
  --overlay: rgba(5, 22, 48, 0.7);
  --gradient-bg: linear-gradient(135deg, #051630, #0a2647, #051630);
  --glow-shadow: 0 0 15px rgba(0, 166, 251, 0.5);
}

/* Tech-inspired Background */
body {
  background: var(--gradient-bg);
  color: var(--text-color);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Particles JS Background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Floating Tech Elements */
.floating-tech {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.tech-element {
  position: absolute;
  width: var(--size);
  height: var(--size);
  top: var(--top);
  left: var(--left);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 15s ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.15;
}

.tech-element i {
  font-size: calc(var(--size) - 20px);
  color: var(--highlight-color);
  filter: drop-shadow(0 0 5px var(--accent-color));
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    transform: translateY(5px) rotate(-3deg);
  }
  75% {
    transform: translateY(-8px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(10, 38, 71, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: navAppear 0.8s ease-out;
}

@keyframes navAppear {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navbar Links */
.navbar nav {
  display: flex;
  align-items: center;
}

.navbar a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 15px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar a:before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: var(--highlight-color);
}

.navbar a:hover:before,
.navbar a.active:before {
  width: 100%;
}

.navbar a.active {
  color: var(--highlight-color);
}

/* Navbar Logo Animation */
.navbar .logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.navbar .logo img {
  width: 90px;
  margin-right: 10px;
  filter: drop-shadow(0 0 5px rgba(76, 201, 240, 0.5));
  transition: all 0.3s ease;
}

#lillybellelogo {
  margin-bottom: 40px;
}

.navbar .logo:hover img {
  transform: rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.8));
}

/* Navbar User Section */
.navbar-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-user h2 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color);
}

/* Buttons */
.contact-button {
  background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
  color: var(--dark-bg);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(76, 201, 240, 0.4);
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
  color: var(--dark-bg);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 25px;
  text-decoration: none;
  box-shadow: var(--glow-shadow);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(76, 201, 240, 0.6);
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Main Hero Section */
.main-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 50px;
  overflow: hidden;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 50px;
  overflow: hidden;
}

/* Tech Badge */
.tech-badge {
  display: inline-block;
  background: rgba(76, 201, 240, 0.2);
  color: var(--highlight-color);
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 15px;
  border: 1px solid rgba(76, 201, 240, 0.3);
}

/* Hero Text Content */
.hero-text {
  max-width: 50%;
  z-index: 1;
}

.hero-text h1, .hero-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
  font-size: 2.5rem;
}

.highlight {
  color: var(--highlight-color);
  position: relative;
}

.highlight:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  left: 0;
  background-color: rgba(76, 201, 240, 0.1);
  z-index: -1;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(230, 241, 255, 0.9);
}

/* Tech Features List */
.tech-features {
  list-style: none;
  margin-top: 20px;
}

.tech-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.tech-features i {
  color: var(--highlight-color);
}

/* Stats */
.stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stats div {
  text-align: center;
  padding: 15px;
  background: rgba(13, 41, 85, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(76, 201, 240, 0.2);
  transition: all 0.3s ease;
}

.stats div:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
}

.stats p {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--highlight-color);
  margin: 0;
}

.stats span {
  font-size: 0.9rem;
}

/* Image Container with Tech Overlay */
.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glow-shadow);
  max-width: 100%;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  display: block;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 66, 114, 0.3), rgba(10, 38, 71, 0.6));
  border: 1px solid rgba(76, 201, 240, 0.2);
}

.tech-overlay:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(76, 201, 240, 0.1) 10px,
    rgba(76, 201, 240, 0.1) 12px
  );
}

/* Services Preview Section */
.services-preview {
  padding: 80px 50px;
  text-align: center;
}

.services-preview h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.services-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  width: 320px;
  text-align: left;
  transition: all 0.4s ease;
  border: 1px solid rgba(76, 201, 240, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-shadow);
  border-color: rgba(76, 201, 240, 0.5);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--highlight-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-family: 'Orbitron', sans-serif;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(230, 241, 255, 0.8);
}

/* Feature Sections */
.feature-section {
  display: flex;
  align-items: center;
  padding: 80px 50px;
  gap: 50px;
}

.feature-section.reverse {
  flex-direction: row-reverse;
}

/* Global Stats Section */
.global-stats {
  padding: 80px 50px;
  text-align: center;
  background: linear-gradient(rgba(5, 22, 48, 0.9), rgba(10, 38, 71, 0.9)), url('/imgs/world-map-bg.svg');
  background-size: cover;
  background-position: center;
  margin: 50px 0;
}

.global-stats h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  width: 220px;
  transition: all 0.4s ease;
  border: 1px solid rgba(76, 201, 240, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-shadow);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--highlight-color);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--text-color);
  margin: 10px 0;
  font-family: 'Orbitron', sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: rgba(230, 241, 255, 0.8);
}

/* CTA Section */
.cta-section {
  padding: 80px 50px;
  text-align: center;
  background: linear-gradient(rgba(5, 22, 48, 0.8), rgba(10, 38, 71, 0.8)), url('/imgs/tech-pattern.svg');
  background-size: cover;
  background-position: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px;
  background: rgba(13, 41, 85, 0.7);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 201, 240, 0.3);
}

.cta-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  width: 100%;
  background: var(--primary-color);
  color: var(--text-color);
  padding: 30px 0;
  margin-top: auto;
  text-align: center;
  border-top: 1px solid rgba(76, 201, 240, 0.3);
}

.footer-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(230, 241, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--highlight-color);
  transform: translateY(-3px);
}

.footer-icon {
  font-size: 1.2rem;
}

.text-muted {
  color: rgba(230, 241, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-hero, .hero, .feature-section {
    flex-direction: column;
    padding: 50px 30px;
    text-align: center;
  }
  
  .feature-section.reverse {
    flex-direction: column;
  }
  
  .hero-text, .hero-image {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .stats {
    justify-content: center;
  }
  
  .tech-features {
    display: inline-block;
    text-align: left;
  }
  
  .services-grid, .stats-container {
    gap: 20px;
  }
  
  .service-card, .stat-item {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px;
  }
  
  .navbar nav {
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .navbar a {
    margin: 5px 10px;
  }
  
  .stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .main-hero, .hero, .feature-section, .services-preview, .global-stats, .cta-section {
    padding: 40px 20px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .cta-content {
    padding: 30px 20px;
  }
  
  .tech-element {
    display: none;
  }
}
