/* Section Contact */
.contact-section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
        padding: 4rem 2rem;
    gap: 2rem;
    background-color: #e8e8e8;
}

/* Prevent horizontal overflow on small screens by stacking columns
     and making children responsive. */
@media (max-width: 900px) {
    .contact-section {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        padding: 2.5rem 1rem;
        gap: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-left,
    .contact-right {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 0.5rem;
    }

    .contact-left h1 {
        max-width: 100%;
    }

    .contact-form {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .contact-item > p,
    .contact-item > span {
        margin-left: 0.5rem;
    }
}

/* Extra safety: ensure inputs and other inline elements don't exceed container */
.contact-form input,
.contact-form textarea,
.contact-form button {
    max-width: 100%;
    box-sizing: border-box;
}



/* Contact Section - Left */
.contact-left {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.contact-left h4 {
    font-size: 16x;
    font-weight: 400;
    color: #6c6c6c;
    text-transform: uppercase;
    margin-bottom: 3px;
    letter-spacing: 2px;
}

.contact-left span {
    font-weight: 600;
    color: #333;
}

.contact-left h1{
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 10px;
    max-width: 400px;
}

.contact-left p {
    font-size: 14px;
    color: #6c6c6c;
    line-height: 1.5;
}

.contact-details { /* Contact Section - Icon dan teks */
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item > span { /* teks dari email dll*/
    color: #6c6c6c;
    font-weight: 400;
    margin-left: 8px;
    font-size: 14px;
}

.contact-item > p { /* isi teks dari email dll*/
    font-size: 14px;
    /* margin-top: 4px; */
    color: #333;
    margin-left: 32px;
}

/* Icon dari contact */
.contact-item i {
    color: #15353e  ;
    vertical-align: middle;
    font-size: 24px;
}    

/* Contact Section - Right */
.contact-right  {
    /* background-color: tomato; */
}


.contact-form {
    /* background-color: #EFEFEF; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* padding: 34px 24px; */
    max-width: 400px;
    border-radius: 10px;
}

/* ====== INPUT STYLE ====== */
.contact-form input {
  width: 250px;
  padding: 10px 0;
  margin-bottom: 20px;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #333333;
  font-size: 12px;
  color: #333333;
  outline: none;
  transition: all 0.3s ease;
}

/* Placeholder warna abu gelap soft */
.contact-form input::placeholder {
  color: rgba(51, 51, 51, 0.6);
}

/* Hover */
.contact-form input:hover {
  border-bottom-color: #555555;
}

/* Focus animasi garis */
.contact-form input:focus {
  border-bottom-color: #000000;
  transform: scale(1.01);
}

.btn-submit {
  padding: 14px 22px;
  border: none;
  border-radius: 8px;
  background: #333333;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  letter-spacing: 1px;
}

/* Hover */
.btn-submit:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* Click */
.btn-submit:active {
  transform: scale(0.97);
}



/* Footer Section*/
.footer-container {
    background-color: #978676;
    padding: 16px 24px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* h2 footer dan paragraf */

.footer-about p{
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: 15px;
}

.footer-about h2 {
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: 26px;
}

.footer-about {
    padding: 16px;
    max-width: 350px;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    /* margin: 10px 10px; */
}

/* Link dan Social Media */

.links-footer a,
.social-footer a {
    color: white;
    text-decoration: none;
}

.links-footer li,
.social-footer li {
    list-style: none;
    font-family: 'Montserrat', sans-serif;
    margin-left: 2px;
    font-size: 14px;
}

.links-footer h2,
.social-footer h2 {
    margin-bottom: 5px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: white;
}
