/*
========================================
CONTACT PAGE STYLES
========================================
*/
body { background-color: #ffffff; color: #a8b2d1; }
main { padding-top: 80px; }

/* --- Hero Section --- */
.contact-hero {
    background: linear-gradient(135deg, #ffffffe6 0%, #ffffffe6 100%), url('assets/contact-bg.jpg') no-repeat center center/cover;
    padding: 60px 20px;
    text-align: center;
    color: black;
}
.contact-hero h1 { font-size: 2.8rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.contact-hero p { font-size: 1.1rem; max-width: 600px; margin: 0.5rem auto 0; color: #0d35ae; }

/* --- Contact Hub --- */
.contact-hub { padding: 60px 20px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #ededed;
}
.contact-form-wrapper h3, .contact-info-wrapper h3 {
    font-size: 1.6rem; color: black; margin-bottom: 2rem;
    padding-bottom: 0.75rem; border-bottom: 2px solid black;
}

/* --- Form Styles --- */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; color: black; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
    width: 80%; padding: 0.8rem 1rem;
    background-color: #c6cbd8; border: 1px solid #233554;
    border-radius: 6px; color: #000000; font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* this css is hire.html  css */

.form-group1 { margin-bottom: 1.5rem; }
.form-group1 label { display: block; font-weight: 500; color: black; margin-bottom: 0.5rem; }
.form-group1 input, .form-group1 textarea {
    width: 80%; padding: 0.8rem 1rem;
    background-color: #c6cbd8; border: 1px solid #233554;
    border-radius: 6px; color: #000000; font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group1 input:focus, .form-group1 textarea:focus {
    outline: none; border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
textarea { resize: vertical; }
.submit-btn {
    background: #38bdf8; color: #eef1f7; padding: 0.8rem 2rem;
    border: none; border-radius: 6px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; width: 80%;
}
.submit-btn:hover { background: #0ea5e9; transform: translateY(-3px); box-shadow: 0 4px 15px #037ab14d; }

/* --- Direct Info Styles --- */
.info-block { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.info-block i { font-size: 1.8rem; color: #38bdf8; margin-top: 5px; width: 30px; text-align: center; }
.info-text h4 { font-size: 1.2rem; color: black; margin-bottom: 0.3rem; }
.info-text p { color: black; }
.info-text a { color: black ; text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.3s ease; }
.info-text a:hover { color: #38bdf8; border-bottom-color: #38bdf8; }

/* --- FAQ Section --- */
.faq-section { padding: 60px 20px; background-color: #ffffff; }
.faq-title { font-size: 2.2rem; color: black; text-align: center; margin-bottom: 2.5rem; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #233554; padding-bottom: 1rem; margin-bottom: 1rem; }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; background-color: transparent; border: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: 1.15rem; font-weight: 500; color: #0a288d; text-align: left; cursor: pointer; }
.faq-question i { transition: transform 0.3s ease; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }
.faq-answer p { padding: 0 0.5rem 1rem 0.5rem; color: #2246b0; line-height: 1.7; }

/* --- Success Modal Styles --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.8); display: flex; justify-content: center; align-items: center; z-index: 2000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s linear; backdrop-filter: blur(5px); }
.modal-overlay.visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal-content { background-color: #1e293b; padding: 2rem; border-radius: 12px; text-align: center; max-width: 400px; width: 90%; color: #f1f5f9; transform: translateY(20px) scale(0.95); opacity: 0; transition: all 0.3s ease; }
.modal-overlay.visible .modal-content { transform: translateY(0) scale(1); opacity: 1; }
.modal-close-btn { position: absolute; top: 10px; right: 15px; font-size: 1.8rem; color: #94a3b8; cursor: pointer; }
.modal-icon { margin-bottom: 1rem; font-size: 3.5rem; color: #4ade80; }
.modal-content h2 { font-size: 1.6rem; }
.modal-content p { margin-bottom: 1.5rem; }
.modal-action-btn { background-color: #38bdf8; color: #0f172a; border: none; padding: 0.7rem 1.8rem; border-radius: 8px; font-weight: bold; cursor: pointer; }

/* --- Responsive --- */
@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .contact-grid { padding: 2rem; } main { padding-top: 60px; } }

/* hire from us css  */
.image-container {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .image-container img {
      max-width: 80%;
      height: 100%;
      border-radius: 8px;
      margin-left: 170%;
      margin-top: -250%;
      
    }

   #experience{
    width: 80%; padding: 0.8rem 1rem;
    background-color: #c6cbd8; border: 1px solid #233554;
    border-radius: 6px; color: #000000; font-size: 1rem;
    transition: all 0.3s ease;
   }

   .submit-btn1 {
    background: #38bdf8; color: #eef1f7; padding: 0.8rem 1rem;
    border: none; border-radius: 6px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; width: 80%;
}
.submit-btn1:hover { background: #0ea5e9; transform: translateY(-3px); box-shadow: 0 4px 15px #037ab14d; }



.required {
  color: red;
  margin-left: 4px;
  font-weight: bold;
}

.map-container1 { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); margin-top: 1rem; border: 1px solid #233554; width: 50%;height: 40%; }
.map-container1 iframe {
    /* THE PROBLEMATIC CSS FILTER HAS BEEN REMOVED. */
}


@media (max-width: 768px) {
  .form-and-image {
    flex-direction: column;
  }

  .image-container {
    flex: none;
    width: 100%;
    margin: 20px 0 0 0; /* adds spacing above the image */
    justify-content: center;
    align-items: center;
  }

  .image-container img {
    max-width: 90%;
    height: auto;
    margin-left: 0;
    margin-top: 0;
    object-fit: contain;
  }
  
 
}
.image-container1 {
  width: 100%;
  margin: 2rem auto;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.image-container1 video {
  width: 100%;
  height: 500px;
  margin-left: 170%;
  margin-bottom: 10%;
  margin-top: -150%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: block;
}
@media (max-width: 768px) {
  .image-container1 video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: block;
    margin-top: 1.5rem;
    margin-left: -20%;
  }
}

