body {
  box-sizing: border-box;
  background-color: #f9f7f7;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  color: #f9f7f7;
  width: 100%;
  height: 100%;
  background: #112d4e;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 2% 5%;
  z-index: 2;
  opacity: 1;
  clip-path: circle(50px at 100% -10%);
  -webkit-clip-path: circle(50px at 100% -10%);
  text-align: center;
}

.nav-link {
  font-size: 1.5rem;
  display: inline-block;
  margin: 0.3rem 0;
}

.nav-links .nav-link .underline {
  width: 0;
  height: 3px;
  background: #dbe2ef;
  border-radius: 3px;
  margin-top: 0.2rem;
}

.nav-link:hover {
  color: #dbe2ef;
}

.nav-link:hover .underline {
  animation: underline 0.5s ease-in-out forwards;
}

@keyframes underline {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.nav-bar .contact {
  margin-top: 3%;
}

.nav-bar .contact h2 {
  font-size: 2.5rem;
  margin-bottom: 3%;
}

.nav-bar .contact .contact-desc {
  font-size: 1.1rem;
  font-weight: 300;
}

.nav-bar .contact .social-icon {
  font-size: 1.7rem;
  margin: 3% 2%;
}

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #112d4e;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  z-index: 999;
  padding: 0% 5%;
}

.nav-header.scrolled {
  background-color: #112d4edf;
}

#logo {
  text-decoration: none;
}

#logo img {
  width: 115px;
}

#logo h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
}

.line1,
.line2 {
  width: 3rem;
  height: 0.2rem;
  margin: 0.4rem;
  background: #f9f7f7;
  pointer-events: none;
}

body.hide {
  overflow: hidden;
}

.burger {
  cursor: pointer;
}

#title {
  color: #f9f7f7;
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  padding: 2% 5%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.title-background-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -2;
}

.hero {
  position: relative;
  text-align: center;
}

.hero-title {
  color: #dbe2ef;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: #f9f7f7;
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
}

.hero-icon {
  color: #3f72af;
  margin: 0 0.7rem;
}

.hero-title,
.hero-text-container {
  opacity: 0;
  transform: translateY(20px);
}

.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.reveal {
  opacity: 1;
  transform: translateY(0);
}

.quote-form-section {
  padding: 4rem 0;
  background-color: #f9f7f7;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.form-title {
  font-family: "Montserrat", sans-serif;
  color: #112d4e;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
}

.quote-form {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  flex: 1;
  margin-bottom: 1.5rem;
}

input,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #dbe2ef;
  border-radius: 4px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #3f72af;
  box-shadow: 0 0 0 2px rgba(63, 114, 175, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #7b8b9a;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
  pointer-events: none;
}

input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
  top: -0.8rem;
  left: 0.8rem;
  font-size: 0.8rem;
  background: white;
  padding: 0 0.3rem;
  color: #3f72af;
}

.submit-btn {
  background-color: #3f72af;
  color: #f9f7f7;
  border: none;
  padding: 1rem 2rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  width: 100%;
}

.submit-btn:hover {
  background-color: #112d4e;
  transform: translateY(-2px);
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(3px);
}

.map-section {
  padding: 4rem 0;
  background-color: #f9f7f7;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.map-container:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.google-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(110%) saturate(90%);
  transition: filter 0.3s ease;
}

.google-map:hover {
  filter: grayscale(0%) contrast(100%) saturate(100%);
}

.floating-btn {
  position: fixed;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-btn {
  left: 20px;
  background-color: #25d366;
}

.call-btn {
  right: 20px;
  background-color: #3f72af;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-btn:hover {
  animation: pulse 1.5s infinite;
}

.footer-row,
.footer-col,
.copyright {
  opacity: 0;
  transform: translateY(30px);
}

footer {
  width: 100%;
  position: absolute;
  background: #112d4e;
  border-top-left-radius: 125px;
  color: #f9f7f7;
  padding: 80px 0 10px;
  font-size: 1rem;
  line-height: 20px;
  text-align: left;
}

footer #logo img {
  width: 160px;
}

.footer-row {
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-col {
  flex-basis: 30%;
  padding: 10px;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-size: 1.3rem;
  width: fit-content;
  margin-bottom: 30px;
  position: relative;
}

footer ul {
  padding: 0;
  margin: 0;
}

footer ul li {
  list-style: none;
  margin-bottom: 12px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #fff;
}

.footer-col ul li .fa-arrow-right {
  font-size: 0.9rem;
  transform: translateX(-0.3rem);
  transition: all 0.3s ease-in-out;
}
.footer-col ul li a:hover {
  color: #dbe2ef;
}

.footer-col ul li a:hover .fa-arrow-right {
  transform: translateX(0);
}

.footer-icons {
  margin-right: 0.3rem;
}

.footer-button {
  margin: 1rem auto;
  font-size: 1rem;
  color: #112d4e;
  text-decoration: none;
  background-color: #f9f7f7;
  padding: 0.75rem 1.5rem;
  font-weight: 400;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.footer-button:hover {
  background-color: #dbe2ef;
  color: #112d4e;
}

footer hr {
  width: 90%;
  border: 0;
  border-bottom: 1px solid #f9f7f7;
  margin: 20px auto;
}

.copy {
  padding-top: 7px;
  text-align: center;
}

.copyright {
  font-weight: 300;
  width: 85%;
  margin: 7px auto 0;
  display: flex;
  justify-content: space-between;
}

.website-by-link {
  color: #dbe2ef;
}

@media screen and (max-width: 1224px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .footer-col {
    flex-basis: 35%;
  }
}

@media screen and (max-width: 1024px) {
  #title {
    height: 55vh;
  }
  .service-text h1 {
    font-size: 2.5rem;
  }

  .line1,
  .line2 {
    width: 2.5rem;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .nav-bar .contact h2 {
    font-size: 2.2rem;
  }

  .nav-bar .contact .contact-desc {
    font-size: 1rem;
  }

  .hero-text-container {
    justify-content: start;
    align-items: start;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .footer-col:nth-child(3) {
    flex-basis: 55%;
  }
}

@media (max-width: 992px) {
  .map-container {
    padding-bottom: 75%;
  }
}

@media screen and (max-width: 900px) {
  .hero-title {
    font-size: 2.7rem;
  }

  footer {
    padding: 50px 0 10px;
  }
}

@media screen and (max-width: 768px) {
  #title {
    height: 45vh;
  }

  .line1,
  .line2 {
    width: 2.2rem;
  }

  .nav-bar {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  .nav-bar .contact h2 {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-title {
    font-size: 1.7rem;
  }

  .map-section {
    padding: 2rem 0;
  }

  .map-container {
    padding-bottom: 100%;
    border-radius: 8px;
  }

  .btn {
    font-size: 0.9rem;
  }

  .whatsapp-btn {
    left: 15px;
  }

  .call-btn {
    right: 15px;
  }

  .footer-col {
    flex-basis: 100%;
  }

  .footer-col:nth-child(3) {
    flex-basis: 100%;
  }

  .copyright {
    font-size: 0.9rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 620px) {
  .line1,
  .line2 {
    width: 2.1rem;
  }

  #logo img {
    width: 100px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .nav-bar .contact h2 {
    font-size: 1.5rem;
  }

  .nav-bar .contact .contact-desc {
    font-size: 0.9rem;
    width: 70%;
    margin: 0 auto 10px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.8rem;
    padding-top: 40px;
  }

  .footer-col h3 {
    font-size: 0.8rem;
  }

  .copyright {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .line1,
  .line2 {
    width: 1.9rem;
  }

  #logo img {
    width: 90px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 0.6rem 1.4rem;
  }
}
