/* ------------------ General ------------------ */
body {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
}

.dark-mode {
  background: #111;
  color: white;
}

/* ------------------ Navbar ------------------ */
.navbar {
  background: rgba(0, 0, 0, 0.8);
  transition: background 0.3s ease;
}

.navbar .nav-link {
  transition: color 0.3s;
}

/* ------------------ Hero Section ------------------ */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("assets/img/emdedded_01.png") no-repeat center center/cover;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* ------------------ Services ------------------ */
.service-box {
  background: white;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 30px 20px;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ------------------ About Section ------------------ */
.about {
  background: #f8f9fa;
  padding: 80px 0;
}

/* ------------------ Stats Section ------------------ */
.stats {
  background: #0b3d91;
  padding: 60px 0;
  color: white;
  text-align: center;
}

.stats h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.stats p {
  font-size: 1.2rem;
}

/* ------------------ Contact Section ------------------ */
#contact .form-control {
  margin-bottom: 15px;
}

/* ------------------ Footer ------------------ */
.footer {
  background: #111;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer a {
  color: #94979c;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
  text-decoration-color: white
}

/* ------------------ Buttons ------------------ */
.text-primary {
  color: #0b3d91 !important;
}

.btn-primary {
  background: #0b3d91;
  border: none;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #092d6f;
}

/* ------------------ Dark Mode Overrides ------------------ */
.dark-mode .navbar {
  background: rgba(20,20,20,0.9);
}

.dark-mode .service-box {
  background: #1a1a1a;
  color: white;
}

.dark-mode .about {
  background: #222;
  color: white;
}

.dark-mode .stats {
  background: #0a2d6f;
}

.dark-mode .footer a {
  color: #8dacca;
}

.dark-mode .btn-primary {
  background: #0b3d91;
  color: white;
}

.dark-mode .btn-primary:hover {
  background: #092d6f;
}

/* ------------------ Responsive Adjustments ------------------ */
@media (max-width: 768px) {
  .service-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 40px 10px;
  }
}