/* General Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f8f9fa;
}

/* Headings */
h1, h3 {
  color: #2c8eec;
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  padding: 25px 30px;
  margin-left: -30px;
  animation: float 6s ease-in-out infinite;
}

h3 {
  color: #000000;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Navbar */
nav {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1em 2em;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  width: 90%;
  max-width: 1000px;
  transition: all 0.3s ease;
}

nav .nav-links {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin: 0 auto;
}

nav .nav-links li {
  flex: 1;
  text-align: center;
}

nav .nav-links li a {
  display: block;
  padding: 0.5em;
}

nav:hover {
  background-color: rgba(255, 255, 255, 0.95);
}

#logo {
  font-size: 1.5em;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: #2c8eec;
  text-decoration: none;
  margin-right: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5em;
  align-items: center;
  justify-content: center;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  text-transform: capitalize;
  color: #333;
  padding: 0.75em 1em;
  border-radius: 25px;
  font-family: 'Lato', sans-serif;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
}

.nav-links li a:hover {
  color: #2c8eec;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(44, 142, 236, 0.1);
  transition: all 0.3s ease;
  z-index: -1;
  border-radius: 25px;
}

.nav-links li a:hover::after {
  height: 100%;
}

.nav-links li a.active {
  color: #333;
}

/* Mobile Styles */
@media screen and (max-width: 600px) {
  label {
    display: block;
  }
  ul {
    font-size: 1.2em;
    position: absolute;
    left: -100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #333333;
    gap: 2em;
    top: 60px;
    width: 100%;
    height: calc(100vh - 60px);
    transition: 0.5s;
  }
  input[type="checkbox"]:checked ~ ul {
    left: 0;
  }
  ul a:hover {
    background-color: #2c8eec;
  }
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* About Section Styles */
.container {
  padding: 20px;
}

h2 {
  margin-bottom: 30px;
  font-weight: bold;
}

.nav-tabs .nav-link {
  color: #007bff;
}

.nav-tabs .nav-link.active {
  background-color: #007bff;
  color: #fff;
}

.tab-content {
  margin-top: 20px;
}

.tab-pane h5 {
  font-weight: bold;
}

.tab-pane p {
  margin: 10px 0;
}

.btn {
  margin-top: 10px;
}

.img-fluid {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-box:hover {
  transform: translateY(-10px);
}

.icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 15px;
}

.service-box h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-box p {
  margin-bottom: 20px;
  color: #6c757d;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-image:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-image:hover .overlay {
  opacity: 1;
}

.map-container {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}