* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}


body, html {
  height: 100%;
  font-family: 'Rubik', sans-serif;
  color: #000;
  /* background: url('assets/background.jpg') no-repeat center center/cover; */
}

.hero-section{
  background: url('assets/background.jpg') no-repeat center center/cover;
 min-height: 100vh;;
}

@media (max-width: 768px) {
  .hero-section{
  background: url('assets/background-mobile.jpg') no-repeat center center/cover;
 min-height: 100vh;;
}
}

@media (max-width: 768px) {
  #subscribe-form input::placeholder {
    color: black;
    opacity: 1;
  }

  #subscribe-form input::-webkit-input-placeholder {
    color: black;
  }

  #subscribe-form input:-moz-placeholder {
    color: black;
    opacity: 1;
  }

  #subscribe-form input::-moz-placeholder {
    color: black;
    opacity: 1;
  }

  #subscribe-form input:-ms-input-placeholder {
    color: black;
  }
}

#subscribe-form input:focus {
  background-color: rgba(255, 255, 255, 0.9); /* or any color you want */
  transition: background-color 0.2s ease;
}

.container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0px;

}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 7%;
  
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
}

.logo img {
  height: 40px;
}

.mont {
  font-weight: 400;
}

.socials svg {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  filter: brightness(0);
}

.hero-section {
  /* background: url('assets/background.jpg') no-repeat center center/cover; */
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* padding: 60px 7%; */
  position: relative;
}

/* Full height ONLY on mobile */
@media (max-width: 768px) {
  .hero-section {
    height: 100vh;
    padding: 20px 0px;
    padding-bottom: 0px;
  }
  .swipe-down-indicator {
  /* padding-bottom: 50px; */
}

.header{
  padding: 0px 0px;
  padding-top: 30px !important;
  margin-top: 40px;
  margin-bottom: 0%;
}

 body {
    padding-top: env(safe-area-inset-top, 20px);
  }

}

/* Always show the swipe indicator */
.swipe-down-indicator {
  display: block;
  text-align: center;
  margin-top: 40px;
  animation: bounce 2s infinite;
  color: white;
}

.desktop-break {
  display: none;
}



main {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 10px;
  padding-top: 0px;
  /* padding-top: 10px; */
}

h1 {
  padding-top: 20px;
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: 6px;
  margin-bottom: 20px;
  word-break: break-word;
}

p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #8C8C8C;
  text-align: center;
  line-height: 1.5;
  padding: 0 10px;
}
@media (min-width: 769px) {
  .desktop-break {
    display: inline;
  }
}


#subscribe-form {
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto;
}

form input {
  flex: 1;
  border: none;
  padding: 15px 20px;
  font-size: 1rem;
  outline: none;
  background: transparent;
}

form button {
  background: transparent;
  border: none;
  padding: 3px 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

.popup-message {
  position: relative;
  margin-top: 20px;
  padding: 15px 25px;
  /* border: 1px solid #fff; */
  background-color: transparent;
  color: #000;
  font-weight: 300;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 3px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

#contact-popup-message {
  display: none;
  text-align: center;
  font-size: 0.95rem;
  color: white im
  margin-top: 15px;
}

#contact-popup-message.show {
  display: block;
}



.popup-message.error {
  background-color: transparent;
  color: #000;
  /* border-color: #fff; */
}

.popup-message.hidden {
  opacity: 0;
  pointer-events: none;
}

.popup-message.show {
  opacity: 1;
  pointer-events: auto;
}

/* footer {
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
} */

/* .contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: white;
  font-size: 0.9rem;
} */

@media (max-width: 1024px) {
  h1 {
    font-size: 5.0rem;
    letter-spacing: 4px;
    padding-top: 0px;
  }
  /* form {
    width: ;
  } */
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
   
  }
   header {
    margin: 20px 7% 0px; /* reduced top and bottom margin */
  }

  main {
    padding-top: 0px; /* reduce top space above content */
    padding-bottom: 90px;
  }

  form {
   max-width: 100%!important;
    /* width: 100px!important; */
  }

  #subscribe-form{
    max-width: 70%!important;
  }

  #subscribe-form button{
    
    width: 70%;
    max-width: 80%;
    font-size: 0.85rem;
  }

  #subscribe-form input{
    padding-left: 10px;
    max-width: 70%;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 3rem;
    letter-spacing: 3px;
    padding-top: 0px; /* reduce internal padding */
    margin-top: 0px;
    
  }

  p {
    font-size: 0.95rem;
  }

  .logo {
    font-size: 1rem;
  }

  .logo img {
    height: 30px;
  }

  form input {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  form button {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  /* .container {
    padding: 20px 10px;
  } */

  h1 {
    font-size: 2.6rem;
    letter-spacing: 2px;
    padding-top: 0px; /* reduce internal padding */
    margin-top: 0px;
  }

  p {
    font-size: 0.9rem;
  }

  .contact span {
    font-size: 0.8rem;
  }

  .popup-message {
    font-size: 0.85rem;
    padding: 12px 18px;
  }
}

.swipe-down-indicator {
  text-align: center;
  margin-top: 10px;
  animation: bounce 2s infinite;
  color: white;
  /* padding-bottom: 150px; */
}

.swipe-down-indicator svg {
  margin-top: 0px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 10%;
  background: #333;
  color: white;
  /* gap: 100px; */
  column-gap: 100px;
  overflow-x: hidden;
  min-height: 50%
}

/* ===== LEFT: Heading + Contact Info ===== */
.contact-left {
  flex: 1;
  min-width: 300px;
  gap: 50px;
}

.contact-left h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: left;
}

.contact-left hr {
  width: 60px;
  border: 1px solid white;
  margin: 20px 0;
}

.contact-detail p {
  margin: 12px 0;
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  
gap: 5px;
}

/* ===== RIGHT: Form ===== */
.contact-form {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  min-width: 300px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  width: 100%;
  resize: none;
  background-color: white;
  border: 1px solid white;
}

.contact-form textarea {
  grid-column: span 2;
  height: 80px;
}

.contact-form button {
  grid-column: span 2;
  justify-self: start;
  padding: 12px 24px;
  background: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.contact-form button:hover {
  background: white;
  color: #333;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
    text-align: center;
    align-items: center;
  }

  .contact-left {
    width: 100%;
  }

  .contact-left h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 5px;
  }

  .contact-left hr {
    margin: 10px auto 20px auto;
  }

  .contact-detail p {
    justify-content: center;
    font-size: 0.95rem;
    gap: 8px;
  }

  .contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    font-size: 0.95rem;
    padding: 14px;
  }

  .contact-form button {
    text-align: center;
  }

  
}

/* Default behavior: show desktop, hide mobile */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* On mobile: hide desktop, show mobile */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
    margin-top: 20px;
    color: white;
    font-size: 0.95rem;
  }

  .mobile-only p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
  }

  
}
/* Always visible heading */
.contact-title {
  width: 100%;
  text-align: left;
  color: white;
  margin-bottom: 10px;
}

.contact-title h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  width: 100%;
}

.contact-title hr {
  width: 150px;
  border: 1px solid white important!;
  margin: 0;
}

.footer-line {
  display: block;
  width: 90%;
  height: 1px;
  background-color: white;
  margin: 0 auto 30px auto;
}


/* Show/hide contact details */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
    margin-top: 20px;
    color: white;
    font-size: 0.85rem;
  }

  .mobile-only p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
  }

  
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    gap: 20px;
    padding: 40px 16px; 
    overflow-x: hidden;
  }

  .contact-detail {
    width: 100%;
  }

  .contact-form,
  .contact-left {
    max-width: 100%;
  }
  .contact-detail.mobile-only {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

.contact-detail.mobile-only {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;/* enforce equal width */
  gap: 1px;
  width: 100% !important;
  margin-top: 20px;
  color: white;
}

.contact-col {
  width: 100%  !important; /* force it to fill grid column */
  display: flex  !important;
  flex-direction: column  !important;
  gap: 8px;
}

.contact-col p {
  display: flex  !important;
  align-items: flex-start!important;
  gap: 2px;
  /* font-size: 0.85rem; */
  margin: 0;
  padding: 0;
  text-align: left;
  /* word-break: break-word;  */
  white-space: normal;   
}



.icon-text svg {
  
}

.contact-detail.mobile-only svg {
  min-width: 24px;
  height: 24px;
  
  flex-shrink: 0; /* Prevents shrinking */
  /* margin-top: 3px;  */
}



}

/* Specific style for the new swipe on mobile */
.swipe-up-indicator {
  text-align: center;
  position: relative;
  top: -40px; /* pull it up */
  animation: bounce 2s infinite;
  color: white;
  font-size: 0.95rem;
}


.swipe-up-indicator svg {
  margin-top: 0px;
  animation: bounce 2s infinite;
}

@media (min-width: 769px) {
  .swipe-up-indicator {
    display: none;
  }
}

.swipe-down-indicator {
  text-align: center;
  margin-top: 0px;
  animation: bounce 2s infinite;
  color: white;
  /* padding-bottom: 150px; */
}