.contact-first{
    height: 70vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-first::before{
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    background-image: url('../images/2147656715.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.5);
    z-index: -1;
}

.contact-first h1{
    color: #Fff;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 1rem;
}


.contact-first p {
    color: #c0c0c0;
    font-size: 18px;
}


.oioi{
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.nine{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center ;
}

.oqwe{
    width: 85%;
}

.cid{
    color: #858585;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4rem;
    margin-bottom: 1rem;
    padding-right: 2rem;
}


.kinja{
    display: flex;
}

* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.contact-section {
  padding: 60px 20px;
  background: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.contact-intro {
  color: #6b7280;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group.full {
  grid-column: span 1;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
}

input, textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

textarea {
  min-height: 150px;
  resize: none;
}

.btn {
  background: #1e3a8a;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn:hover {
  background: #1e40af;
}

/* RIGHT SIDE */
.contact-info h3 {
  margin-bottom: 20px;
}

.office-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 25px;
}

.office-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.office-time {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #fff;
  font-weight: bold;
}

.info-item {
  margin-bottom: 18px;
}

.info-item strong {
  display: block;
  margin-bottom: 5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 28px;
  align-items: start;
}

/* LEFT COLUMN */
.name { grid-column: 1; grid-row: 1; }
.email { grid-column: 1; grid-row: 2; }
.phone { grid-column: 1; grid-row: 3; }

/* RIGHT COLUMN */
.message {
  grid-column: 2;
  grid-row: 1 / span 3;
}

/* BUTTON */
.button {
  grid-column: 1;
  margin-top: 10px;
}

/* FIELDS */
.field label {
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

/* MESSAGE HEIGHT – EXACT */
.field textarea {
  height: 260px;
  resize: none;
}

/* BUTTON STYLE */
button {
  background: #1e3a8a;
  color: #fff;
  border: none;
  padding: 14px 34px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .message {
    grid-column: 1;
    grid-row: auto;
  }
}



.contact-form {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 32px;
  row-gap: 24px;
  align-items: stretch; /* IMPORTANT */
}

/* LEFT COLUMN */
.name   { grid-column: 1; grid-row: 1; }
.email  { grid-column: 1; grid-row: 2; }
.phone  { grid-column: 1; grid-row: 3; }

/* RIGHT COLUMN – FULL HEIGHT */
.message {
  grid-column: 2;
  grid-row: 1 / 4;   /* spans all 3 rows */
  display: flex;
  flex-direction: column;
}

/* TEXTAREA FULL HEIGHT */
.message textarea {
  flex: 1;               /* KEY LINE */
  width: 100%;
  resize: none;
}

/* COMMON FIELDS */
.field label {
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.field input,
.field textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

/* BUTTON */
.button {
  grid-column: 1;
  margin-top: 8px;
}

button {
  background: #1e3a8a;
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .message {
    grid-column: 1;
    grid-row: auto;
  }

  .message textarea {
    min-height: 180px;
  }
}




@media screen and (max-width: 900px){
  .contact-first {
    height: 35vh;
  }
}

@media screen and (max-width: 767px){
  .contact-first h1 {
    font-size: 36px;
  }

  .contact-first p {
    color: #c0c0c0;
    font-size: 14px;
}

}








