:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --info-color: #2980b9;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
  background-color: #f8f9fa;
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  z-index: -1;
  opacity: 0.1;
}

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

/* Navigation */
.navbar {
  background-color: rgba(44, 62, 80, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(44, 62, 80, 0.95);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: white;
}

.navbar-brand img {
  margin-right: 10px;
}

.navbar-brand span {
  font-size: 1.2rem;
}

.nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link.active {
  color: var(--secondary-color) !important;
}

.nav-link.active::after {
  display: none;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.6)),
    url("../images/namibia-landscape.jpg") no-repeat center center;
  background-size: cover;
}


.hero h1 {
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.floating-globe {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.floating-globe img {
  max-width: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.pulse-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

/* Features Section */
.features {
  background-color: white;
  position: relative;
  z-index: 1;
}

.features h2 {
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.features h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: var(--secondary-color);
}

.feature-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background-color: white;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--secondary-color);
  font-size: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  background-color: var(--secondary-color);
  color: white;
  transform: rotate(15deg) scale(1.1);
}

/* Stats Section */
.stats {
  position: relative;
  overflow: hidden;
}

.chart-container {
  position: relative;
  height: 400px;
  width: 100%;
}

.facts-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fact-item {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.fact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fact-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

/* About Section */
.about {
  background-color: white;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  transition: transform 0.5s ease;
}

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

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.9rem;
}

.styled-list {
  list-style-type: none;
  padding-left: 0;
}

.styled-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.styled-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.5rem;
  line-height: 1;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .facts-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 80px 0 40px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}
