/* Reset some default styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Styling for the loading animation */
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

html {
      scroll-behavior: smooth;
    }
/* Global Styles */
body {
  font-family: "Roboto", sans-serif;
  background-color: #f4f7fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

Container .container {
  width: 100%;
  max-width: 1200px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 2px solid #e0e0e0;
}

h1 {
  font-size: 2.5rem;
  color: #222;
  letter-spacing: 1px;
}

/* Hero Section */
#hero {
  background: linear-gradient(to bottom, #2d2d2d, #111);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

#hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.2rem;
  font-weight: 400;
}

/* About Section */
#about {
  margin: 4rem 0;
  text-align: center;
  font-size: 1.9rem;
  font-weight: 500;
}

#about p {
  font-size: 1.1rem;
  color: #555;
  text-align: justify;
  line-height: 1.6;
}

/* Container holding the service cards */
.service-cards-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Service Cards */
.service-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  max-width: 400px;
  min-height: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image Styling */
.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

/* Card Body */
.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

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

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    margin-top: 1rem;
  }

  nav ul li {
    margin-left: 0;
    margin-top: 1rem;
  }

  #hero h2 {
    font-size: 2.5rem;
  }

  /* Employee Table on Small Screens */
  #employees table {
    font-size: 0.9rem;
  }

  #employees th,
  #employees td {
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  #hero h2 {
    font-size: 2rem;
  }

  #about {
    font-size: 1.5rem;
  }

  #about p {
    font-size: 1rem;
  }

  #achievements ul li {
    font-size: 1rem;
  }
}

/* Sticky navbar and header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}

/* Mobile view navbar - Align links to the left */
@media (max-width: 768px) {
  .navbar-collapse {
    text-align: left;
  }
}

:root {
  --primary-color: #2563eb;
  --hover-color: #1d4ed8;
}

body {
  background-color: #f8fafc;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

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

.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
  left: 0;
}
