@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  background-color: #ffffff;
  height: 100vh;
  font-size: 14px;
  font-weight: 400;
}

.container {
  max-width: 1685px;
  margin: 0 auto;
  padding-block: 70px;
  padding-inline: 24px;
}

/* Top Panel Style */
.top-panel {
  flex: none;
  width: 100%;
  display: inline-block;
}

.content-wrap {
  display: flex;
  margin: 0 auto;
}

/* Left Panel Styles */
.left-panel {
  flex: 0 0 400px;
  background-color: #ffffff;
  padding: 0px 70px 0px 0px;
  display: flex;
  flex-direction: column;
}

.logo {
  margin-bottom: 80px;
}

.logo img {
  width: 520px;
}

.form-section {
  flex: 1;
}

.form-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #222222;
  margin-bottom: 40px;
  font-family: 'Questrial', sans-serif;
}

.form-group {
  margin-bottom: 30px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #222222;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-family: 'Questrial', sans-serif;
}

.form-select {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  background-color: transparent;
  font-size: 16px;
  color: #2c2c2c;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px;
  cursor: pointer;
  font-family: 'Questrial', sans-serif;

}

.form-select:focus {
  border-bottom-color: #222222;
  outline: none !important;
}

.continue-btn {
  font-family: 'Questrial', sans-serif;
  width: 100%;
  max-width: 160px;
  padding: 12px 0;
  background-color: transparent;
  border: 1px solid #2c2c2c;
  color: #2c2c2c;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 40px 0 30px 0;
  text-transform: uppercase;
}

.continue-btn:hover {
  background-color: #2c2c2c;
  color: white;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 2px;
  outline: none !important;
  cursor: pointer;
}

.checkbox-label {
  font-size: 14px;
  font-weight: 400;
  color: #222222;
  cursor: pointer;
  user-select: none;
  font-family: 'Questrial', sans-serif;
}

/* Right Panel Styles */
.right-panel {
  flex: 1;
  background-color: #fff;
}

.image-grid {
  display: flex;
}

.image-item {
  flex: 1;
  overflow: hidden;
}

.image-item.partial {
  flex: 0.3;
}

.image-item img {
  width: 100%;
  object-fit: cover;
  display: block;
  padding: 0px 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    max-width: 768px;
  }

  .content-wrap {
    flex-direction: column;
  }

  .left-panel {
    flex: none;
    padding: 40px 20px;
  }

  .logo {
    margin-bottom: 40px;
  }

  .logo-svg {
    width: 100px;
    height: 40px;
  }

  .form-title {
    margin-bottom: 30px;
  }

  .right-panel {
    flex: 1;
    min-height: 400px;
  }

  .image-grid {
    height: 400px;
  }

  .image-item.partial {
    display: none;
  }
}

@media (max-width: 480px) {
  .left-panel {
    padding: 30px 15px;
  }

  .continue-btn {
    width: 120px;
    padding: 10px 0;
  }

  .image-grid {
    flex-direction: column;
    /* height: 300px; */
  }

  .image-grid .image-item:first-of-type {
    margin-block-end: 5px;
  }

  .image-item {
    flex: 1;
  }
}

/* Custom checkbox styling */
.checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

.checkbox:checked {
  background-color: #2c2c2c;
  border-color: #2c2c2c;
}

.checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 10px;
  font-weight: bold;
}

/* Select dropdown arrow animation */
.form-select:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c2c2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/*Coming Soon CSS*/

.coming-soon-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.text-section {
  max-width: 50%;
  padding: 120px;
}

.text-section .logo img {
  width: 400px;
}

.main-title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 7rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1em;
}

.main-title span {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 7rem;
  font-weight: 300;
}

.description {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 30px;
}

.subscribe-form {
  display: flex;
  justify-content: normal;
}

.subscribe-form input {
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  width: 75%;
}

.subscribe-form button {
  background-color: #000;
  color: white;
  border: none;
  padding: 15px 20px 15px 15px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.subscribe-form button i {
  margin-left: 10px;
  /* Adjusts the space between text and the arrow icon */
  font-size: 1.2rem;
  /* Adjusts the size of the icon */
}

.subscribe-form button:hover {
  background-color: #333;
}

.image-section img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* --- Media Queries for Responsiveness --- */

/* For tablets and mobile devices (screens less than 1024px wide) */
/* Extra large screens (1920px and above) */
@media (min-width: 1920px) {

  /* Styles for 1920px and up */
  .main-title {
    font-size: 7rem;
  }

  .main-title span {
    font-size: 7rem;
  }

  .description {
    font-size: 18px;
  }

  .text-section {
    padding: 120px;
  }

  .subscribe-form input,
  .subscribe-form button {
    font-size: 1.2rem;
  }
}

/* Large desktops (1600px to 1919px) */
@media (max-width: 1919px) and (min-width: 1600px) {

  /* Styles for 1600px to 1919px */
  .text-section .logo img {
    width: 350px;
  }

  .main-title {
    font-size: 6rem;
  }

  .main-title span {
    font-size: 6rem;
  }

  .description {
    font-size: 17px;
  }

  .text-section {
    padding: 100px;
  }

  .subscribe-form input,
  .subscribe-form button {
    font-size: 1.1rem;
  }
}

/* Desktops (1400px to 1599px) */
@media (max-width: 1599px) and (min-width: 1400px) {

  /* Styles for 1200px to 1599px */
  .text-section .logo {
    margin-bottom: 40px;
  }

  .text-section .logo img {
    width: 320px;
  }

  .main-title {
    font-size: 5.1rem;
  }

  .main-title span {
    font-size: 5.1rem;
  }

  .description {
    font-size: 16px;
  }

  .text-section {
    padding: 90px;
  }

  .subscribe-form input,
  .subscribe-form button {
    font-size: 1.1rem;
  }
}

/* Desktops (1200px to 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {

  /* Styles for 1200px to 1399px */
  .text-section .logo {
    margin-bottom: 40px;
  }

  .text-section .logo img {
    width: 280px;
  }

  .main-title {
    font-size: 4.5rem;
  }

  .main-title span {
    font-size: 4.5rem;
  }

  .description {
    font-size: 14px;
  }

  .text-section {
    padding: 50px 80px;
  }

  .subscribe-form input,
  .subscribe-form button {
    font-size: 1.1rem;
  }
}

/* Tablets and small desktops (1024px to 1199px) */
@media (max-width: 1199px) and (min-width: 1070px) {

  /* Styles for 1024px to 1199px */
  .text-section .logo {
    margin-bottom: 30px;
  }

  .text-section .logo img {
    width: 250px;
  }

  .main-title {
    font-size: 4rem;
  }

  .main-title span {
    font-size: 4rem;
  }

  .description {
    font-size: 14px;
  }

  .text-section {
    padding: 40px 70px;
  }

  .subscribe-form input,
  .subscribe-form button {
    font-size: 0.7rem;
  }
}

/* Tablets (768px to 1023px) */
@media (max-width: 1071px) and (min-width: 768px) {

  /* Styles for 768px to 1023px */
  .coming-soon-container {
    flex-direction: column;
    /* Stack image and text in two rows */
    overflow: visible;
  }

  .content {
    flex-direction: column;
    /* Stack the content vertically */
    align-items: center;
  }

  .text-section .logo img {
    width: 250px;
  }

  .main-title {
    font-size: 4.5rem;
  }

  .main-title span {
    font-size: 4.5rem;
  }

  .description {
    font-size: 14px;
  }

  .text-section {
    padding: 60px;
    text-align: center;
    width: 100%;
    max-width: 80%;
  }

  .subscribe-form input {
    width: 100%;
  }

  .subscribe-form button {
    width: 50%;
    padding: 15px;
  }

  .image-section img {
    max-width: 100%;
    width: 100%;
  }
}

/* Large mobile devices (480px to 767px) */
@media (max-width: 767px) and (min-width: 480px) {

  /* Styles for 480px to 767px */
  .coming-soon-container {
    flex-direction: column;
    /* Stack image and text in two rows */
    overflow: visible;
  }

  .content {
    flex-direction: column;
    /* Stack the content vertically */
    align-items: center;
  }

  .text-section .logo img {
    width: 250px;
  }

  .main-title {
    font-size: 3.5rem;
  }

  .main-title span {
    font-size: 3.5rem;
  }

  .description {
    font-size: 14px;
  }

  .text-section {
    padding: 60px;
    text-align: center;
    width: 100%;
    max-width: 80%;
  }

  .subscribe-form input {
    width: 100%;
  }

  .subscribe-form button {
    width: 50%;
    padding: 15px;
  }

  .image-section img {
    max-width: 100%;
    width: 100%;
  }
}

/* Small mobile devices (360px to 479px) */
@media (max-width: 479px) and (min-width: 360px) {

  /* Styles for 360px to 479px */
  .coming-soon-container {
    flex-direction: column;
    /* Stack image and text in two rows */
    overflow: visible;
  }

  .content {
    flex-direction: column;
    /* Stack the content vertically */
    align-items: center;
  }

  .text-section .logo img {
    width: 200px;
  }

  .main-title {
    font-size: 3rem;
  }

  .main-title span {
    font-size: 3rem;
  }

  .description {
    font-size: 14px;
  }

  .text-section {
    padding: 60px;
    text-align: center;
    width: 100%;
    max-width: 80%;
  }

  .subscribe-form input {
    width: 100%;
  }

  .subscribe-form button {
    width: 50%;
    padding: 15px;
  }

  .image-section img {
    max-width: 100%;
    width: 100%;
  }
}

/* Ultra small phones */
/* Reserve space for subscribe feedback text */
.subscribe-message {
  min-height: 18px;
}

@media (max-width: 768px) {
  .logo img {
    width: 280px;
    max-width: 100%;
  }
}

@media (max-width: 359px) {
  .text-section .logo img {
    width: 180px;
  }

  .main-title,
  .main-title span {
    font-size: 2.4rem;
  }

  .text-section {
    padding: 40px 24px;
    max-width: 100%;
  }

  .subscribe-form {
    flex-wrap: wrap;
    gap: 8px;
  }

  .subscribe-form input {
    width: 100%;
    font-size: 0.95rem;
  }

  .subscribe-form button {
    width: 100%;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .top-panel {
    display: flex;
    justify-content: center;
  }

  .top-panel .logo img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }
}