/* ============================================================
   contact.css  —  Contact Page Specific Styles
   NGO Theme · Yuva Shakti Samiti
   Depends on: variables.css, global.css, header-footer.css
   ============================================================ */

/* ===================================
   HERO SECTION
=================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 500px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://manavkartavya.org/wp-content/uploads/2018/08/our-approach.jpg") center/cover no-repeat;
  filter: grayscale(30%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.25) 100%
  );
}

.hero-content {
  position: relative;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.75;
  max-width: 520px;
}

/* ===================================
   CONTACT SECTION
=================================== */
.contact-section {
  padding: 80px 0;
  background: var(--color-white);
}

/* Section heading */
.contact-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

.contact-text {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 35px;
  font-size: 0.97rem;
}

/* ── Contact info boxes ── */
.contact-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.contact-box:hover .contact-icon {
  transform: translateY(-2px);
}

.contact-box h6 {
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--color-text);
    font-size:1.1rem;
}

.contact-box p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ── Social icons ── */
.social-icons {
  margin-top: 30px;
}

.social-icons h6 {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-right: 10px;
  transition: background 0.2s, transform 0.2s;
}

.social-icons {
    margin-top: 0px;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

/* ===================================
   CONTACT FORM
=================================== */
.contact-form {
  background: var(--color-bg);
  padding: 35px;
  border-radius: var(--r);
  box-shadow: var(--sh);
}

.contact-form .form-control {
  border: 1.5px solid transparent;
  background: var(--color-white);
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .form-control::placeholder {
  color: var(--color-muted);
}

.contact-form .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(222, 56, 8, 0.12);
  border-color: var(--color-primary);
}

.submit-btn {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 36px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.93rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
}

.submit-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ===================================
   MAP SECTION
=================================== */
.map-section {
  margin-top: 60px;
}

.map-section iframe {
  width: 100%;
  height: 350px;
  border-radius: var(--r);
  border: 0;
  display: block;
  box-shadow: var(--sh);
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 991px) {
  .contact-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .map-section {
    margin-top: 40px;
  }

  .map-section iframe {
    height: 260px;
  }
}

@media (max-width: 576px) {

  
  .hero {
      height: 250px;
    }
    
    .contact-text {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: justify;
 }
 
     .contact-title {
        font-size: 30px;
        margin-bottom: 5px;
    }
    
    .contact-box h6 {
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 1.1rem;
 }
 
.contact-icon {
    width: 45px;
    height: 45px;
}

.social-icons {
    margin-top: 0px;
}

.contact-box p {
    font-size: 18px;
}

    
}