@import url('./font.css');

:root {
    --primary-color: #E75025;
    --secondary-color: #F2F2EB;
    --black-bg: #101111;
    --light-bg: #ffffff;
    --header-bg: #1F2124;
  }
  html {
    scroll-behavior: smooth;
    font-family: 'helvetica';
    font-weight: normal;
  }
  body {
    margin: 0;
    padding: 0;
  
  }

::-webkit-scrollbar {
  display: none;
}

.header {
  background-color: var(--header-bg);
  color: white;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 2rem;
  position: fixed;
  top: 1.3rem;
  left: 50%;
  transform: translateX(-50%); 
  width: 30%;
  z-index: 800;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(100, 100, 100, 0.593) !important;
  transition: transform 0.5s ease-in-out;
}

.header.hidden {
  transform: translate(-50%, -180%); 
}


.headerImg {
  padding-left: 0.5rem;
  width: 8rem;
}

.headerNav {
  display: flex;
  gap: 0.5rem;
}

.preBtn {
  width: 5.2rem;
  height: 2rem;
  background-color: var(--primary-color);
  color: white;
  font-size: 10px;
  border: none;
  border-radius: 1rem;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-decoration: none; 
  cursor: pointer; 
  transition: background-color 0.3s ease; 
}

.menuBtn {
  border: none;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  width: 2rem;
  height: 2rem;
}

/* menu section */

.menu {
  opacity: 0;
  visibility: hidden;
  /* background-color: rgba(139, 139, 139, 0.505);
  backdrop-filter: blur(8px); */
  background-color: var(--header-bg);
  padding: 1rem;
  position: fixed;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 1.1rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu.show {
  opacity: 1;
  visibility: visible;
}

.menu-top,
.menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
}

.menu-top a {
  margin: 0;
  transition: transform 0.3s ease, scale 0.3s ease;
}

.menu-top a:hover {
  transform: scale(1) translateY(-5px);
  cursor: pointer;
}

.menu i {
  font-size: 1.2rem;
  color: #000;
  transition: transform 0.3s ease;
}

.menu i:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
  .menu {
    width: 90%;
    top: 4rem;
  }

  .menu-top {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2rem;
  }

  .menu-bottom {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header {
    background-color: var(--header-bg);
    color: white;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 2rem;
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  }
}

/* ============================= Hero Section ================================ */


.contact-hero {
    height: 100vh;
    width: 100%;
    background: url('/images/contact-hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center; /* Moves quote to the right */
    text-align: center;
    padding: 0 5%;
    position: relative;
}

/* Quote Styling */
.quote-text {
    width: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.2rem;
}
.quote-text p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Scroll Text */
#scroll-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: white;
    display: flex;
    align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-hero {
        justify-content: center;
        text-align: center;
        padding: 0 10%;
        
    }

    .quote-text {
        width: 95%;
        font-size: 1rem;
    }

    #scroll-text {
        font-size: 0.9rem;
    }
}

/* ============================= Contact Section ================================ */

/* .contact-section {
    height: 100vh;
    width: 100%;
    padding: 5rem 0;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    max-width: 1100px;
    padding: 3rem;
    border-radius: 1.5rem;
    background-color: var(--secondary-color);
    gap: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
} */

.contact-section {
  height: 100vh;
  min-height: fit-content;
  width: 100%;
  padding: 5rem 0;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  position: relative;  /* Ensures it moves with scrolling */
  transition: all 0.4s ease-in-out;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  width: 70%;
  max-width: 1100px;
  padding: 3rem;
  border-radius: 1.5rem;
  background-color: var(--secondary-color);
  gap: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

  transform: scale(1); /* Normal size */
  opacity: 1; /* Full opacity */
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.zoom-in {
  transform: scale(1.09); /* Zoom in effect */
  opacity: 1;
}

/* Information Box */
.info-box {
    flex: 1;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 1.5rem;
    text-align: left;
    width: 100%;
}
.info-box h2{
  color: var(--primary-color);
}

.contact-details div {
    margin: 10px 0;
}

.contact-details p {
    font-size: 1rem;
    color: var(--dark-text);
    font-family: 'helvetica' ;
    src: url('../fonts/HelveticaNowDisplay-Regular.ttf');
    font-weight: normal;

}

/* Form Box */
.form-box {
    flex: 2;
    padding: 30px;
    border-radius: 1.5rem;
    background-color: white;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        width: 90%;
        padding: 1rem;
        border-radius: 1rem;
    }

    .info-box,
    .form-box {
        width: 100%;
        padding: 20px;
        border-radius: 1rem;
    }
    .contact-details h5{
      font-size: 1rem;
      color: var(--dark-text);
    }
    .contact-details p {
      font-size: 0.9rem;
      color: var(--dark-text);
  }
}

.custom-input {
  background-color: transparent;
  margin-top: 1rem;
  width: 100%;
  border: none;
  border-bottom: 1px solid #838383;
  outline: none;
  padding: 0.5rem 0;
  transition: border-color 0.3s ease;
}

.custom-input:focus {
  border-bottom: 1px solid black;
}

.custom-file-input{
  background-color: transparent;
  margin-top: 1rem;
  width: 100%;
  border: none;
  border-bottom: 1px solid #838383;
  outline: none;
  padding: 0.5rem 0;
  transition: border-color 0.3s ease;
}

.custom-select {
    background-color: transparent;
    margin-top: 1rem;
    width: 100%;
    border: none;
    border-bottom: 1px solid #838383;
    outline: none;
    padding: 0.5rem 0;
    transition: border-color 0.3s ease;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none; 
}

.custom-select:focus {
    border-color: #333; 
}


.custom-select option {
    background-color: var(--secondary-color); 
    color: #333; 
    padding: 0.5rem; 
}

.custom-select option:hover {
    background-color: var(--primary-color); 
    color: #000; 
}

.submitButton {
  width: 6rem;
  background-color: var(--primary-color);
  color: white;
  font-size: 12px;
  border: none;
  height: 2rem;
  border-radius: 1rem;
  margin-top: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submitButton:hover {
  background-color: orangered;
}


  /* Popup */

  .popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-radius: 1rem;
    text-align: center;
    display: none;
}

.popup-content {
    padding: 10px;
}

.popup-content button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

