/* ==========================================================================
   Hero Section (Half Height - 50vh)
   ========================================================================== */
.hero.hero-half {
  min-height: 50vh !important;
  height: 50vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px 20px !important;
  margin-top: 0px !important;
  position: relative;
  overflow: hidden;
}
.hero-inner .contact-banner-grid{
  padding-top: 0%;
}
.hero-half .hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  
}
/* ==========================================
   Contact Hero Space Reduce Fix
========================================== */

.hero.contact-hero {
  min-height: auto !important;
  height: auto !important;

  padding-top: 120px !important;
  padding-bottom: 45px !important;

  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

/* hero ke andar wrap ki extra spacing remove */
.contact-hero .hero-inner.wrap {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

/* heading aur paragraph spacing thori compact */
.contact-hero .eyebrow {
  margin-bottom: 18px !important;
}

.contact-hero h1 {
  margin-bottom: 18px !important;
}

.contact-hero .hero-sub {
  margin-bottom: 0 !important;
}
.hero-half .eyebrow {
  display: inline-block !important;
  width: auto !important;
  margin-bottom: 1cqb !important;
}

.hero-half h1 {
  margin-bottom: 15px !important;
}

.hero-half .hero-sub {
  max-width: 650px;
}




.contact-banner-section {
  width: 100%;
  background: linear-gradient(135deg, #ff4500, #e03e00);

}

.contact-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  width: 100%;
  min-height: 520px;
}

/* Left Orange Panel (Padding matches site container margin) */
.contact-info-panel {
  background: linear-gradient(135deg, #ff4500, #e03e00);
  color: #ffffff;
  padding: 60px 50px 60px calc((100vw - 1200px) / 2 + 15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  display: block;
  margin-bottom: 8px;
}

.contact-title {
  font-size: 2.3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff;
}

.contact-address {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 30px;
  max-width: 420px;
}

.contact-subheading {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #ffffff;
}

.contact-detail-text {
  font-size: 0.9rem;
  opacity: 0.85;
}

.office-hours {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
}

/* Right White Form Panel */
.contact-form-panel {
  background: #ffffff;
  padding: 60px 8% 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-size: 2.2rem;
  color: #111111;
  margin-bottom: 25px;
  font-weight: 700;
}

.quote-form {
  width: 100%;
  max-width: 520px;
}

.form-input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #e2e2e2;
  border-radius: 30px;
  outline: none;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--orange, #ff4500);
}

.form-textarea {
  width: 100%;
  padding: 14px 22px;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  outline: none;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
}

.form-submit-btn {
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}


/* ==========================================================================
   Office Cards & Map Embed
   ========================================================================== */
.office-card {
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 25px;
  background: #ffffff;
}

.office-card-title {
  color: var(--orange, #ff4500);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.office-card-details {
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

.map-embed-container {
  width: 100%;
  height: 400px;
  filter: grayscale(20%);
  border-top: 1px solid #eee;
}

.map-embed-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* Contact page par nav link hamesha active rahe scroll ke bawajood */
#nav .nav-links a[href*="contact.php"] {
  color: var(--orange, #ff4500) !important;
  font-weight: 600;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1240px) {
  .contact-info-panel {
    padding-left: 8%;
  }
}

@media (max-width: 992px) {
  .contact-banner-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-panel,
  .contact-form-panel {
    padding: 40px 6%;
  }
}

/* ==================================================
   CONTACT PAGE NAVBAR FINAL FIX
   Works from 1100px and below
================================================== */

@media (max-width: 1100px) {
  #nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 92px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 0 5vw !important;
    box-sizing: border-box !important;

    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08) !important;

    z-index: 99999 !important;
    overflow: visible !important;
  }

  #nav .logo {
    display: flex !important;
    align-items: center !important;
    max-width: calc(100% - 75px) !important;
    overflow: hidden !important;
  }

  #nav .logo img {
    max-width: 245px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  #burger {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 5vw !important;
    transform: translateY(-50%) !important;

    width: 46px !important;
    height: 46px !important;

    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;

    background: #ffffff !important;
    border: 1px solid rgba(244,81,30,0.35) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 22px rgba(244,81,30,0.15) !important;

    cursor: pointer !important;
    z-index: 100001 !important;
  }

  #burger span {
    display: block !important;
    width: 23px !important;
    height: 2.5px !important;
    background: #101114 !important;
    border-radius: 20px !important;
    transition: 0.3s ease !important;
  }

  #burger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg) !important;
  }

  #burger.open span:nth-child(2) {
    opacity: 0 !important;
  }

  #burger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg) !important;
  }

  #navLinks {
    position: fixed !important;

    /* Main fix: menu navbar ke neeche aaye */
    top: 104px !important;
    right: 5vw !important;
    left: auto !important;
    bottom: auto !important;
    inset: auto !important;

    width: 280px !important;
    height: auto !important;
    max-height: calc(100vh - 125px) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;

    padding: 18px 20px !important;

    background: #ffffff !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0 24px 55px rgba(0,0,0,0.14) !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateY(-15px) !important;
    transition: 0.35s ease !important;

    z-index: 100000 !important;
    overflow-y: auto !important;
  }

  #navLinks.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  #navLinks li {
    width: 100% !important;
    list-style: none !important;
  }

  #navLinks a {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    padding: 15px 0 !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    color: #101114 !important;
    text-decoration: none !important;

    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  }

  #navLinks li:last-child a {
    border-bottom: none !important;
  }

  #navLinks a::after {
    display: none !important;
  }

  #navLinks a:hover,
  #navLinks a.active {
    color: var(--orange, #ff4500) !important;
  }
}

@media (max-width: 480px) {
  #nav {
    height: 86px !important;
  }

  #nav .logo img {
    max-width: 150px !important;
  }

  #burger {
    width: 43px !important;
    height: 43px !important;
  }

  #navLinks {
    top: 96px !important;
    right: 5vw !important;
    width: calc(100vw - 10vw) !important;
  }
}
