/* ===============================
   CONTACT SLIDE
================================ */

.contact-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Background */
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

/* Wrapper */
.contact-wrapper {
  position: relative;
  background: #FFFFFFCC;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TOP RED BAR */
.contact-top {
  background: #a10f0f;
  position: absolute;
  top: 45%;
  left: 50%;
  color: #fff;
  width: 70%;
  transform: translate(-50%, -45%);
  padding: 50px 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

/* Left text */
.contact-text h2 {
  font-size: 42px;
  margin-bottom: 14px;
 font-family: 'Libre Caslon Text', Georgia, serif;
}

.contact-text p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 520px;
  font-family: 'Aventa', serif;
}

/* Mailing form */
.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: 'Libre Caslon Text', Georgia, serif;
}

.form-subtitle {
  font-size: 13px;
  margin-bottom: 12px;
  display: block;
 font-family: 'Libre Caslon Text', Georgia, serif;
}

.form-row {
  display: flex;
  background: #fff;
  border-radius: 15px!important;
  overflow: hidden;
}

.form-row input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  outline: none;
  font-size: 14px;
}

.form-row button {
  background: #7c0d0d;
  color: #fff;
  border: none;
  padding: 0 22px;
  cursor: pointer;
}

.form-row button:hover{
    background: #7c0d0d !important;
}

/* BOTTOM PURPLE BAR */
.contact-bottom {
  background: #2b1a7a;
  width: 70%;
  margin: 20px;
  position: absolute;
  top: 74%;
  left: 49%;
  transform: translate(-50%, -50%);
  color: #fff;
  padding: 22px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-info {
  display: flex;
  gap: 8px !important;
  flex-direction: column;
  align-items: center;
}

.contact-info .info-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ✅ Icon wrapper */
.info-item .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item .icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ✅ Text styling */
.info-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.info-item p {
  font-size: 12px;
  opacity: 0.8;
  margin: 0;
}

/* Call button */
.call-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.call-btn:hover {
  background: #fff;
  color: #2b1a7a;
}

/* Contact items (social + copyright) */
.contact-items {
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: flex-end;
}

/* Social icons */
.contact-socials {
  display: flex;
  gap: 14px;
}

.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.contact-socials a:hover {
  transform: scale(1.1);
}

.contact-socials a svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  transition: fill 0.3s ease;
}

/* Social icon colors */
.contact-socials a:nth-child(1):hover svg { fill: #000; !important} /* Twitter */
.contact-socials a:nth-child(2):hover svg { fill: #0077B5; } /* LinkedIn */
.contact-socials a:nth-child(3):hover svg { fill: #1877F2; } /* Facebook */
.contact-socials a:nth-child(4):hover svg { fill: #9E1010; } /* Share */

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {

  .contact-wrapper {
    justify-content: flex-start;
    padding: 80px 20px;
    gap: 30px;
  }

  .contact-top,
  .contact-bottom {
    position: static;
    transform: none;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .contact-top {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 30px;
    text-align: center;
  }

  .contact-bottom {
    padding: 24px 40px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .contact-info {
    flex-direction: column;
    gap: 20px;
  }

  .contact-items {
    align-items: center;
  }

}

@media (max-width: 768px) {

  .contact-section {
    height: auto;
    min-height: 100vh;
  }

  .contact-wrapper {
    padding: 60px 16px;
  }

  .contact-top {
    padding: 30px 20px;
  }

  .contact-text h2 {
    font-size: 30px;
  }

  .contact-text p {
    font-size: 14px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row input {
    width: 100%;
  }

  .form-row button {
    width: 100%;
    padding: 12px;
  }

  .contact-bottom {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    flex-direction: column;
    width: 100%;
  }

  .contact-items {
    width: 100%;
    align-items: center;
  }

  .contact-socials {
    justify-content: center;
  }

  .contact-socials a svg {
    width: 18px;
    height: 18px;
  }

  .info-item .icon svg {
    width: 20px;
    height: 20px;
  }

}



/* =========================================================
   LARGE SCREENS (1600px+) — 16-inch laptops
========================================================= */
@media (min-width: 1600px) {

  .contact-top {
    top: 40%;
    transform: translate(-50%, -40%);
  }

  .contact-bottom {
    top: 60%;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 1800px) {

  .contact-top {
    top: 38%;
    transform: translate(-50%, -38%);
  }

  .contact-bottom {
    top: 58%;
    transform: translate(-50%, -50%);
  }
}


/* =========================================================
   27-INCH / 2K SCREENS (2560px+)
========================================================= */
@media (min-width: 2560px) {

  .contact-top {
    width: 60%;
    max-width: 1600px;
    padding: 80px 100px;
    gap: 80px;
    top: 42%;
    transform: translate(-50%, -50%);
  }

  .contact-text h2 {
    font-size: 56px;
    margin-bottom: 24px;
  }

  .contact-text p {
    font-size: 20px;
    max-width: 720px;
    line-height: 1.8;
  }

  .form-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .form-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .form-row input {
    padding: 20px 24px;
    font-size: 18px;
  }

  .form-row button {
    padding: 0 40px;
    font-size: 18px;
  }

  .contact-bottom {
    width: 60%;
    max-width: 1600px;
    padding: 40px 100px;
    top: 65%; /* Adjusted to prevent overlapping with the top box */
    transform: translate(-50%, -50%);
    margin: 0; /* Overrides the 20px margin from base to keep strict alignment */
  }

  .contact-info {
    gap: 16px !important;
    align-items: flex-start; /* Aligns phone and location cleanly to the left */
  }

  .info-item .icon {
    width: 50px;
    height: 50px;
  }

  .info-item .icon svg {
    width: 30px;
    height: 30px;
  }

  .info-item strong {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .info-item p {
    font-size: 16px;
  }

  .call-btn {
    padding: 12px 40px;
    font-size: 20px;
    border-radius: 40px;
  }
  
  .contact-items {
    gap: 16px;
  }

  .contact-socials {
    gap: 20px;
  }

  .contact-socials a {
    width: 48px;
    height: 48px;
  }

  .contact-socials a svg {
    width: 26px;
    height: 26px;
  }
  
  .contact-items strong {
    font-size: 16px;
  }
}

/* =========================================================
   4K SCREENS (3840px+)
========================================================= */
@media (min-width: 3840px) {

  .contact-top {
    width: 55%; /* Scaled down width percentage for ultra-wide balance */
    max-width: 2200px;
    padding: 120px 150px;
    gap: 120px;
    top: 42%;
    transform: translate(-50%, -50%);
  }

  .contact-text h2 {
    font-size: 80px;
    margin-bottom: 32px;
  }

  .contact-text p {
    font-size: 28px;
    max-width: 1000px;
    line-height: 1.8;
  }

  .form-title {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .form-subtitle {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .form-row {
    border-radius: 20px !important;
  }

  .form-row input {
    padding: 30px 36px;
    font-size: 24px;
  }

  .form-row button {
    padding: 0 60px;
    font-size: 24px;
  }

  .contact-bottom {
    width: 55%;
    max-width: 2200px;
    padding: 60px 150px;
    top: 68%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  .contact-info {
    gap: 24px !important;
    align-items: flex-start;
  }

  .info-item .icon {
    width: 70px;
    height: 70px;
  }

  .info-item .icon svg {
    width: 42px;
    height: 42px;
  }

  .info-item strong {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .info-item p {
    font-size: 22px;
  }

  .call-btn {
    padding: 18px 60px;
    font-size: 28px;
    border-radius: 50px;
    border-width: 2px;
  }
  
  .contact-items {
    gap: 24px;
  }

  .contact-socials {
    gap: 30px;
  }

  .contact-socials a {
    width: 64px;
    height: 64px;
  }

  .contact-socials a svg {
    width: 36px;
    height: 36px;
  }
  
  .contact-items strong {
    font-size: 20px;
  }
}