/* Global Reset & Fixes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: 'HK Grotesk', sans-serif; /* ✅ Set base font to HK Grotesk */
  background-color: #5f0f40;
  color: #5f0f40;
  overflow-x: hidden; /* keep this — it hides horizontal scroll */
}

/* ======================== */

.container {
  max-width: 1500px;  /* 💡 safer for most screens */
  padding: 120px 60px; /* ✅ balanced and scroll-free */
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0px rgba(0, 0, 0, 0.5);
  min-height: 80vh;
  background: transparent;
}


/* ======================== */

.left-section, .right-section {
  flex: 1;
  min-width: 300px;
  /* Remove shared padding here */
}

/* Set paddings individually */
.left-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 40px;       /* 🔧 reduce vertical spacing */
  padding-bottom: 10px;
  padding-left: 0;
  padding-right: 40px;
}


/* ======================== */

.contact-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #f5f5dc;
  width: 100%;
  text-align: left;
}

.contact-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #f5f5dc;
  width: 100%;
  text-align: left;
}

/* ======================== */

.image-container {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: left center;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin-left: -20px; /* ✅ Pull slightly to left edge */
}

.image-container img {
  width: 100%;
  height: auto;
  max-height: 400px; /* 💡 Optional height control */
  object-fit: cover;
  object-position: left center; /* ✅ Focus subject on left */
  border: none;
  box-shadow: none;
  display: block;
}

/* ======================== */

.right-section {
  display: flex;
  justify-content: center;   /* ✅ Center form */
  align-items: center;
  flex-direction: column;
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 20px;
padding-top: 40px;
}

.right-section form {
  width: 100%;
  max-width: 500px;
  text-align: center;
  line-height: 1.5;
  margin: 0 auto;
}

/* ======================== */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: normal;
  color: #f5f5dc;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #a052a0;
  background-color: transparent;
  color: #f5f5dc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  border-color: #d8b4fe;
  box-shadow: 0 0 0 2px rgba(216, 180, 254, 0.5);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ======================== */

.submit-button {
  background-color: #f5f5dc;
  color: #5f0f40;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  width: 150px;
  margin-top: 30px;
  align-self: flex-start;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
  background-color: #d8d8b8;
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
}

/* ======================== */

/* ======= Portal Section Styles (Optimized) ======= */
.contact-portal {
  max-width: 1100px;            /* 💡 Box size reduced */
  margin: 60px auto;            /* Centered on page */
  padding: 40px 30px;
  background-color: #0f3d2d;
  color: #f5f5dc;
  border-radius: 12px;
}

/* Columns */
.portal-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Left Heading */
.portal-left {
  flex: 1;
  text-align: center;           /* ✅ Centered Heading */
}

.portal-heading {
  font-size: 2.4rem;            /* ⬇️ Slightly smaller */
  font-family: 'League Spartan', sans-serif;
  margin: 0;
}

/* Right Image */
.portal-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.portal-image {
  width: 100%;
  max-width: 320px;             /* ⬇️ Scale down image */
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  
}

/* CTA Buttons */
.portal-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;                    /* ✅ Proper spacing */
}

.portal-btn {
  background-color: #f5f5dc;
  color: #5f0f40;
  border: 2px solid #5f0f40;
  font-family: 'HK Grotesk', sans-serif;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  padding: 12px 22px;           /* ⬇️ Slightly compact size */
  font-size: 0.95rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.portal-btn:hover {
  background-color: #d8d8b8;
  transform: translateY(-2px);
}
/* Mobile & small tablets (up to 767px) */
@media (max-width: 767px) {
  .container {
    flex-direction: column;
    padding: 70px 15px;
  }

  .left-section, 
  .right-section {
    min-width: 100%;
    padding: 15px 10px;
	margin-top: 100px;
	margin-bottom: 0px;
  }

  .contact-title {
    font-size: 2rem;
    text-align: center;
  }

  .contact-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .submit-button {
    width: 100%;
    max-width: 100%;
    align-self: center;
    padding: 14px;
  }

  .image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 10px 30px;
  }
}

/* Extra small mobiles (up to 480px) */
@media (max-width: 480px) {
  .contact-title {
	  padding: 20px 15px;
    font-size: 2rem;
	margin-bottom: 10px; /* reduce spacing below heading */
  }

  .contact-subtitle {
	  padding: 0px 15px;
    font-size: 1.2rem;
	margin-bottom: 10px; /* reduce spacing below heading */
  }
}
