:root {
  --primary-color: #1a5f7a;
  --secondary-color: #ffc107;
  --accent-color: #ff6b6b;
  --light-bg: #f8f9fa;
  --dark-bg: #343a40;
}

body {
  font-family: "Arial", sans-serif;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: var(--primary-color) !important;
}

#hero {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0.1;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

.card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #154a5f;
  border-color: #154a5f;
}

.list-group-item {
  border-left: 4px solid var(--secondary-color);
}

#why-choose-us {
  background-color: var(--light-bg);
}

#contact {
  background-color: var(--primary-color);
  color: white;
}

#contact h2 {
  color: var(--secondary-color);
}

#contact .list-group-item {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  border-left: 4px solid var(--secondary-color);
}

footer {
  background-color: var(--dark-bg) !important;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.form-container {
  background-color: #fff;
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.activity-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#image-slider {
  width: 100%;
  padding: 0;
}

#image-slider .carousel-item img {
  height: 60vh;
  object-fit: cover;
  width: 100%;
}

#image-slider .carousel-control-prev,
#image-slider .carousel-control-next {
  width: 5%;
}

#image-slider .carousel-control-prev-icon,
#image-slider .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
}

.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
}

/* Gallery styles */
#gallery {
  background-color: var(--light-bg);
}

#gallery h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

#gallery .img-fluid,
#gallery video {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-bottom: 1.5rem;
}

#gallery .img-fluid:hover,
#gallery video:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#gallery video {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}

.gallery-image {
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  object-fit: contain;
  padding-top: 50px;
  background: transparent;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .company-name {
    font-size: 1rem;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .form-container {
    width: 95%;
    padding: 1rem;
  }

  #image-slider .carousel-item img {
    height: 40vh;
  }

  #gallery .img-fluid,
  #gallery video {
    margin-bottom: 1rem;
  }

  .modal-content {
    width: 100%;
  }
}

.go-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, opacity 0.3s;
  z-index: 1000;
}

.go-to-top-btn:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  .go-to-top-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
