/**
 * Branch index pages – Contact block, local SEO, footer strip
 * kisnainstitute.com/science-city, /thaltej, /ghatlodiya, /gota
 */

/* Contact block – top of main content */
.branch-contact-block {
  background: linear-gradient(135deg, #0B7A1E 0%, #065A14 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.branch-contact-block::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.branch-contact-block .branch-contact-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.branch-contact-block .branch-contact-address {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.branch-contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.branch-contact-ctas .btn {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.branch-contact-ctas .btn:hover {
  transform: translateY(-2px);
}

.branch-contact-ctas .btn-call {
  background: #fff;
  color: #065A14;
  border: none;
}

.branch-contact-ctas .btn-call:hover {
  background: #f0f7f1;
  color: #065A14;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.branch-contact-ctas .btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
}

.branch-contact-ctas .btn-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Map container */
.branch-map-wrap {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.branch-map-wrap .ratio {
  border-radius: 12px;
}

/* Footer – Our Branches strip */
.footer-branches-strip {
  background: rgba(0,0,0,0.04);
  padding: 1rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.footer-branches-strip .footer-branches-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.footer-branches-strip .footer-branches-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.footer-branches-strip .footer-branches-links a {
  color: var(--default-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-branches-strip .footer-branches-links a:hover {
  color: var(--accent-color);
}

.footer-branches-strip .footer-branches-links span {
  color: rgba(0,0,0,0.3);
  user-select: none;
}

@media (max-width: 768px) {
  .branch-contact-block {
    padding: 1.35rem;
  }
  .branch-contact-ctas {
    flex-direction: column;
  }
  .branch-contact-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-branches-strip .footer-branches-links {
    flex-direction: column;
    align-items: center;
  }
}
