/* Root Variables */
:root {
  --primary-color: #0d47a1;
  --secondary-color: #1565c0;
  --accent-color: #00e676;
  --dark-bg: #0a1929;
  --darker-bg: #051219;
  --text-light: #e0e0e0;
  --text-gray: #b0b0b0;
  --card-bg: #132f4c;
  --border-color: #1e3a5f;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--darker-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  background-color: rgba(10, 25, 41, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--text-light) !important;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: var(--accent-color) !important;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 230, 118, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(13, 71, 161, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.ai-visualization {
  width: 100%;
  height: 500px;
  position: relative;
}

.hero-section h1 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 2rem;
}

.text-light-gray {
  color: var(--text-gray);
}

.btn-primary {
  background-color: var(--accent-color);
  border: none;
  color: var(--darker-bg);
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
  background-color: #00c965;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
  animation: fadeIn 0.8s ease-out 0.6s both;
}

/* Section Padding */
.section-padding {
  padding: 80px 0;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  border-radius: 2px;
}

/* About Section */
.about-image-container {
  background: linear-gradient(135deg, var(--card-bg), var(--primary-color));
  padding: 80px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.stat-item {
  font-size: 1rem;
  color: var(--text-light);
}

.text-accent {
  color: var(--accent-color);
}

/* Services Section */
.bg-dark-section {
  background-color: var(--dark-bg);
}

.service-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 230, 118, 0.2);
  border-color: var(--accent-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-gray);
  margin-bottom: 0;
  line-height: 1.8;
}

/* Contact Section */
.contact-info-card {
  background-color: var(--card-bg);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  gap: 1rem;
}

.contact-item i {
  font-size: 2.5rem;
}

.contact-item h6 {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-link {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent-color);
}

.social-links h6 {
  color: var(--text-light);
  font-weight: 600;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-right: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icon:hover {
  background-color: var(--accent-color);
  color: var(--darker-bg);
  transform: translateY(-3px);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background-color: var(--darker-bg);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer h5 {
  color: var(--text-light);
}

.footer p {
  color: var(--text-gray);
}

.social-links-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section .lead {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-nav {
    padding-top: 1rem;
  }

  .social-links-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .about-image-container {
    padding: 60px 40px;
  }

  .service-card {
    padding: 2rem;
  }

  .contact-info-card {
    padding: 2rem;
  }
}

/* Scroll Offset for Fixed Navbar */
section {
  scroll-margin-top: 80px;
}
