@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Cinzel:wght@400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Hero News Section */

.about-section {
  position: relative;
  width: 100%;
  height: 70vh;
  background-image: url("public/contact_hero.webp"); /* Replace with your image name */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* Dark overlay on left side */
.about-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 51, 153, 0.55) 10%, rgba(0, 51, 153, 0.2) 50%);
  display: flex;
  align-items: center;
  padding-left: 100px;
}

.about-text {
  max-width: 500px;
  color: white;
  animation: fadeInLeft 1.2s ease forwards;
}

.about-text h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: "Saira", sans-serif;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #fdfcfc;
  margin-bottom: 25px;
  font-family: "Roboto", sans-serif;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-family: "Roboto", sans-serif;
}

.about-link:hover {
  background: #ffffff;
  color: #000000;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.about-link:hover .arrow-icon {
  transform: translateX(5px);
}

/* Animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Extra small devices (phones, portrait) */
@media (max-width: 320px) { 
  .about-section {
    height: 300px;
  }

  .about-overlay {
    padding-left: 15px;
    background: rgba(0, 0, 0, 0.6); /* Stronger overlay */
  }

  .about-text h1 {
    font-size: 1.6rem;
  }

  .about-text p {
    display: none;
  }

  .about-link {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Small devices (phones) */
@media (max-width: 480px) { 
  .about-section {
    height: 320px;
  }

  .about-overlay {
    padding-left: 25px;
  }

  .about-text h1 {
    font-size: 1.9rem;
  }

  .about-text p {
    display: none;
  }

  .about-link {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* Medium devices (phones) */
@media (max-width: 576px) { 
  .about-section {
    height: 350px;
  }

  .about-overlay {
    padding-left: 30px;
  }

  .about-text h1 {
    font-size: 2rem;
  }
}

/* Large phones */
@media (max-width: 768px) { 
  .about-section {
    height: 380px;
  }

  .about-overlay {
    padding-left: 35px;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.2) 100%);
  }

  .about-text h1 {
    font-size: 2.2rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .about-link {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Tablets */
@media (max-width: 992px) { 
  .about-section {
    height: 420px;
  }

  .about-overlay {
    padding-left: 20px;
  }

  .about-text h1 {
    font-size: 2.4rem;
  }
}

/* 1152px */
@media (max-width: 1152px) { 
  .about-text h1 {
    font-size: 2.6rem;
  }
}

/* 1440px */
@media (max-width: 1440px) { 
  .about-section {
    height: 65vh;
  }
}




/* Form Section */

body {
  background: #f7f5ef;
}

.contact-section {
  padding: 40px 16px;
}

.contact-wrapper {
  display: flex;
  background: #fff;
  max-width: 1200px;
  margin: auto;
}

/* LEFT */
.contact-left {
  width: 45%;
  padding: 50px 20px 50px 0px;
  background: #f7f5ef;
}

.subtitle {
  color: rgb(10, 56, 124);
  letter-spacing: 2px;
  font-size: 13px;
  font-family: "Roboto", sans-serif;
}

.contact-left h1 {
  font-size: 48px;
  margin: 20px 0;
  font-family: "Saira", sans-serif;
}

.contact-left h1 span {
  display: block;
}

.contact-left p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
  font-family: "Roboto", sans-serif;
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.icon {
  font-size: 20px;
  color: rgb(10, 56, 124);
  margin-right: 15px;
}

.info-item h4 {
  font-size: 14px;
  letter-spacing: 1px;
  font-family: "Roboto", sans-serif;
}

.info-item p {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
  font-family: "Roboto", sans-serif;
}

/* DIVIDER */
.divider {
  width: 3px;
  background: rgb(10, 56, 124);
}

/* RIGHT */
.contact-right {
  width: 55%;
  padding: 50px;
}

.form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.form-group {
  width: 100%;
}

.form-group label {
  font-size: 12px;
  letter-spacing: 1px;
  color: #888;
  font-family: "Roboto", sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgb(10, 56, 124);
  padding: 10px 0;
  outline: none;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
}

textarea {
  resize: none;
  height: 100px;
  font-family: "Roboto", sans-serif;
}

.full {
  margin-bottom: 40px;
}

button {
  background: rgb(10, 56, 124);
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
}

button:hover {
  background: #333;
}

@media (max-width: 320px) {

  .contact-section {
    padding: 20px;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-left h1 {
    font-size: 26px;
  }

  .contact-left p {
    margin-bottom: 25px;
  }

  .divider {
    display: none;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  button {
    width: 100%;
    padding: 14px;
  }
}
@media (max-width: 480px) {

  .contact-section {
    padding: 25px;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-left h1 {
    font-size: 30px;
  }

  .divider {
    display: none;
  }

  .form-row {
    flex-direction: column;
    gap: 25px;
  }

  button {
    width: 100%;
  }
}
@media (max-width: 576px) {

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-left h1 {
    font-size: 34px;
  }

  .divider {
    display: none;
  }

  .form-row {
    flex-direction: column;
  }
}
@media (max-width: 768px) {

    .contact-wrapper {
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
  }

  .contact-left {
    width: 100%;
    padding: 30px 20px;
    text-align: left;
  }

  .contact-right {
    width: 100%;
    padding: 30px 20px;   /* 🔥 main fix */
    background: #fff;
  }

  .divider {
    display: none;
  }

    .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 12px 0;
  }

  textarea {
    height: 90px;
  }

  button {
    width: 100%;
    padding: 14px;
  }
}
@media (max-width: 992px) {

  .contact-left h1 {
    font-size: 38px;
  }

  .form-row {
    gap: 20px;
  }
}
@media screen and (max-width: 1152px) {
  .contact-left h1 {
    font-size: 42px;
  }
}
