/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #757575;
  background-color: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/*--------------------------------------------------------------
# Avatar
--------------------------------------------------------------*/
.avatar {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

/*--------------------------------------------------------------
# Header (Masthead)
--------------------------------------------------------------*/
.masthead {
  position: relative;
  background: linear-gradient(rgba(0, 153, 255, 0.7), rgba(28, 55, 94, 0.7)), url('https://addmy.link/assets/imgs/bg-masthead1.jpg') no-repeat center/cover;
  padding: 8rem 0;
  color: #fff;
  text-align: center;
}

.masthead h1 {
  font-size: 2rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .masthead {
    padding: 12rem 0;
  }
  .masthead h1 {
    font-size: 3rem;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 4rem 0;
}

.section-bg {
  background-color: #f3f8fa;
}

.section-title {
  text-align: center;
  padding-bottom: 2rem;
}

.section-title h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.section-title h2::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: #68a4c4;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  margin: 0 auto;
  font-size: 0.9375rem;
  color: #556877;
  max-width: 50%;
}

@media (max-width: 768px) {
  .section-title p {
    max-width: 80%;
  }
}

/*--------------------------------------------------------------
# Features Icons
--------------------------------------------------------------*/
.features-icons {
  padding: 5rem 0;
}

.features-icons-item {
  max-width: 20rem;
  margin: 0 auto 2rem;
}

.features-icons-icon {
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-icons-icon i {
  font-size: 4.5rem;
  color: #007bff;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
#clients {
  padding: 4rem 0;
}

.clients-wrap {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #d6eaff;
  border-left: 1px solid #d6eaff;
  margin-bottom: 1.5rem;
}

.client-logo {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d6eaff;
  border-bottom: 1px solid #d6eaff;
  background: #fff;
  height: 160px;
  transition: transform 0.3s ease;
}

.client-logo img {
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease-in-out;
}

.client-logo:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .client-logo {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .client-logo {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .row + .row {
  margin-top: 4rem;
}

.features h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features ul li {
  padding-bottom: 0.625rem;
  display: flex;
  align-items: center;
}

.features ul i {
  font-size: 1.25rem;
  color: #68a4c4;
  margin-right: 0.5rem;
}

/*--------------------------------------------------------------
# Send Message Form
--------------------------------------------------------------*/
.cardMessage {
  width: 340px;
  height: 430px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.top-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.top-div h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.top-div i {
  font-size: 1.25rem;
  color: #ccc;
}

.input-text {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-text input[type='text'] {
  width: 100%;
  height: 40px;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0 2rem;
  font-size: 0.9375rem;
  transition: border-color 0.3s ease;
}

.input-text input:focus {
  outline: none;
  border-bottom: 2px solid #800080;
}

.input-text span {
  position: absolute;
  top: 10px;
  left: 35px;
  font-size: 0.9375rem;
  color: #757575;
  transition: all 0.3s ease;
}

.input-text input:focus ~ span,
.input-text input:valid ~ span {
  top: -5px;
  font-size: 0.75rem;
  color: #800080;
  font-weight: 600;
}

.detailsMessage :nth-child(5) input[type='text'] {
  border: none;
}

.last {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 2rem;
}

.last button {
  background: none;
  border: none;
  color: #007bff;
  font-size: 0.9375rem;
  cursor: pointer;
}

.last span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #007bff;
  border-radius: 50%;
}

.last .fa-envelope-o {
  color: #fff;
  font-size: 0.875rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer.footer {
  padding: 4rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

footer.footer p {
  margin: 0;
  color: #556877;
}

/*--------------------------------------------------------------
# Custom Overrides for Bootstrap
--------------------------------------------------------------*/
.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.form-control:focus {
  border-color: #68a4c4;
  box-shadow: 0 0 0 0.2rem rgba(104, 164, 196, 0.25);
}