/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 16px;
}

/* BODY BACKGROUND IMAGE */
body {
  width: 100%;
  min-height: 100vh;

  background: url("https://d1oc8cgqbx2xxb.cloudfront.net/static/assets/backdesk.jpg") no-repeat center center/cover;
  background-attachment: fixed;

  color: white;
  position: relative;
}

/* DARK OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: -1;
}

/* NAVBAR */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 18px 0;  
  background: rgba(255, 255, 255, 0.08);
  
}

.nav-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
}

.logo {
  font-size: 24px;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #f7c948;
}

/* CONTAINER */
.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 5%;
}

.row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 60px;
}

/* LEFT */
.left {
  flex: 1;
}

.contactTitle h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.contactTitle p {
  font-size: 17px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 30px;
}

.iconGroup {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.icon {
  width: 45px;
  height: 45px;
  border: 2px solid dodgerblue;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.icon i {
  font-size: 18px;
}

.details span {
  display: block;
  font-size: 15px;
}

.details span:first-child {
  text-transform: uppercase;
  font-weight: 500;
  color: #ccc;
}

.socialMedia{
  padding-right: 7.5rem;
}

.socialMedia a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: dodgerblue;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 10px;
  transition: 0.3s;
}

.socialMedia a:hover {
  transform: translateY(-5px);
  background: #f7c948;
}

/* RIGHT */
.right {
  flex: 1;
}

.messageForm {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.halfWidth {
  width: 48%;
}

.fullWidth {
  width: 100%;
}

.inputGroup {
  position: relative;
}

.inputGroup input,
.inputGroup textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid #888;
  color: white;
  font-size: 16px;
  outline: none;
}

textarea {
  height: 150px;
  resize: none;
}

.inputGroup label {
  position: absolute;
  left: 0;
  bottom: 10px;
  color: #aaa;
  font-size: 15px;
  transition: 0.3s;
  pointer-events: none;
}

.inputGroup input:focus ~ label,
.inputGroup textarea:focus ~ label,
.inputGroup input:valid ~ label,
.inputGroup textarea:valid ~ label {
  transform: translateY(-20px);
  font-size: 13px;
  color: dodgerblue;
}

button {
  padding: 10px 30px;
  border-radius: 25px;
  border: none;
  background: dodgerblue;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: white;
  color: dodgerblue;
}

.footer {
    background: #111;
    color: #fff;
    padding-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 40px 40px;
    gap: 40px;
}

.footer-column {
    max-width: 300px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 15px;
}

.footer-column p {
    color: #bbb;
    line-height: 1.6;
    font-size: 14px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #00c9a7;
}

.footer-social a {
    color: #bbb;
    margin-right: 15px;
    font-size: 20px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #00c9a7;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background: #0a0a0a;
    font-size: 14px;
    color: #888;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  body {
    background-image: url("https://d1oc8cgqbx2xxb.cloudfront.net/static/assets/backmob.jpg");
  }

  .row {
    flex-direction: column;
  }

  .halfWidth {
    width: 100%;
  }

  .container {
    padding-top: 100px;
  }

  .logo {
    font-size: 18px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
  }
}