/* Contact page styles only. Shared layout and component styles stay elsewhere. */

.ul-page-hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--ul-primary, #0b254e) 0%, #123a78 100%);
  position: relative;
  overflow: hidden;
}

.ul-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../img/3bg.png') center / cover;
  opacity: 0.05;
  pointer-events: none;
}

.ul-page-hero-content { position: relative; z-index: 1; }
.hero-breadcrumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 15px; color: rgba(255, 255, 255, 0.8); font-size: clamp(13px, 0.9vw, 15px); }
.hero-breadcrumb a { color: var(--ul-c3); }
.hero-breadcrumb a:hover { color: var(--white); }
.hero-breadcrumb .separator { color: rgba(255, 255, 255, 0.6); }
.ul-page-hero-title { margin: 15px auto 10px; color: var(--white); font-size: clamp(32px, 4vw, 48px); font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }
.ul-page-hero-subtitle { max-width: 700px; margin: 0 auto; color: rgba(255, 255, 255, 0.9); font-size: clamp(15px, 1.1vw, 18px); line-height: 1.6; }

.ul-contact-card { height: 100%; padding: clamp(25px, 3vw, 40px); border: 1px solid rgba(4, 28, 51, 0.08); border-radius: 16px; background: var(--white); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ul-contact-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); }
.ul-contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.1vw, 40px); max-width: 1410px; margin: clamp(30px, 4vw, 70px) auto 0; padding: 0 15px; align-items: stretch; }
.ul-contact-card-header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid rgba(212, 175, 55, 0.2); text-align: center; }
.ul-contact-card-header i { display: block; margin-bottom: 15px; color: var(--ul-primary); font-size: 42px; }
.ul-contact-card-header h3 { margin: 0 0 8px; color: var(--ul-primary); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; }
.ul-contact-card-header p { margin: 0; color: var(--ul-gray2); font-size: clamp(13px, 0.9vw, 15px); }

.ul-contact-form { max-width: 100%; }
.ul-form-group { margin-bottom: 20px; }
.ul-form-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ul-black); font-size: clamp(14px, 0.95vw, 16px); font-weight: 700; }
.ul-form-label i { color: var(--ul-primary); font-size: 16px; }
.ul-form-control { width: 100%; padding: 14px 18px; border: 2px solid rgba(4, 28, 51, 0.15); border-radius: 10px; background: #fafafa; font-family: var(--font-primary); font-size: clamp(14px, 0.9vw, 16px); transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; }
.ul-form-control:focus { outline: none; border-color: var(--ul-primary); background: var(--white); box-shadow: 0 0 0 4px rgba(4, 28, 51, 0.05); }
.ul-form-control::placeholder { color: #999; }
textarea.ul-form-control { min-height: 120px; resize: vertical; }
.ul-form-submit { display: flex; align-items: center; gap: 15px; margin-top: 25px; }
.ul-submit-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 35px; border: 0; border-radius: 10px; background: var(--ul-primary); color: var(--white); font-size: clamp(15px, 1vw, 17px); font-weight: 700; cursor: pointer; box-shadow: 0 4px 15px rgba(4, 28, 51, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
.ul-submit-btn:hover { transform: translateY(-2px); background: var(--ul-secondary); box-shadow: 0 6px 25px rgba(4, 28, 51, 0.3); }
.ul-submit-btn:active { transform: translateY(0); }
.ul-spinner { display: inline-flex; align-items: center; gap: 8px; color: var(--ul-primary); font-weight: 700; }

.ul-alert { display: flex; align-items: center; gap: 12px; padding: 15px 20px; margin-top: 20px; border-radius: 10px; font-weight: 400; animation: contact-slide-down 0.3s ease; }
@keyframes contact-slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.ul-alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.ul-alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.ul-alert i { font-size: 20px; }

.ul-contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.ul-contact-info-item { display: flex; gap: 20px; padding: 20px; background: rgba(4, 28, 51, 0.02); border-radius: 12px; transition: transform 0.3s ease, background-color 0.3s ease; }
.ul-contact-info-item:hover { background: rgba(212, 175, 55, 0.08); transform: translateX(-5px); }
.ul-contact-icon { flex: 0 0 50px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ul-primary); color: var(--white); font-size: 22px; }
.ul-contact-content h4 { margin: 0 0 8px; color: var(--ul-primary); font-size: clamp(16px, 1.1vw, 18px); font-weight: 700; }
.ul-contact-content p { margin: 0; color: var(--ul-gray2); font-size: clamp(14px, 0.9vw, 15px); line-height: 1.6; }
.ul-contact-content a { color: var(--ul-primary); font-weight: 700; }
.ul-contact-content a:hover { color: var(--ul-secondary); text-decoration: underline; }

.ul-social-card { margin-top: 20px; }
.ul-social-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ul-social-link { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; color: var(--white); font-size: 14px; font-weight: 700; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ul-social-link:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); }
.ul-social-link i { font-size: 18px; }
.ul-social-link.facebook { background: #1877f2; }
.ul-social-link.twitter { background: #1da1f2; }
.ul-social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ul-social-link.youtube { background: #f00; }
.ul-social-link.whatsapp { background: #25d366; }
.ul-social-link.linkedin { background: #0077b5; }

.ul-departments-section, .ul-map-section, .ul-simple-social-section { max-width: 1410px; margin-inline: auto; padding: clamp(40px, 5vw, 60px) 15px; }
.ul-section-header { margin-bottom: 40px; }
.ul-section-subtitle { margin: 0; color: var(--ul-gray2); font-size: clamp(14px, 1vw, 16px); }
.ul-department-card { height: 100%; min-height: 205px; padding: 25px; border: 1px solid rgba(4, 28, 51, 0.08); border-radius: 16px; background: var(--white); text-align: center; box-shadow: 0 4px 20px rgba(4, 28, 51, 0.06); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.ul-department-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(4, 28, 51, 0.08); }
.ul-dept-icon { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border-radius: 50%; background: rgba(212, 175, 55, 0.1); color: var(--ul-secondary); font-size: 32px; }
.ul-department-card h4 { margin: 0 0 15px; color: var(--ul-primary); font-size: clamp(16px, 1.2vw, 19px); font-weight: 700; }
.ul-dept-info { display: flex; flex-direction: column; gap: 6px; padding-top: 15px; border-top: 1px solid rgba(4, 28, 51, 0.1); }
.ul-department-card a.ul-dept-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--ul-gray2); text-decoration: none !important; transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.ul-department-card a.ul-dept-row:hover { background: rgba(212, 175, 55, 0.1); color: var(--ul-primary); text-decoration: none !important; transform: translateX(-4px); }
.ul-dept-row-icon { flex: 0 0 28px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(4, 28, 51, 0.05); font-size: 12px; transition: background-color 0.3s ease, color 0.3s ease; }
.ul-dept-row-icon i { color: var(--ul-primary); font-size: 12px; transition: color 0.3s ease; }
.ul-department-card a.ul-dept-row:hover .ul-dept-row-icon { background: var(--ul-secondary); }
.ul-department-card a.ul-dept-row:hover .ul-dept-row-icon i { color: var(--white); }
.ul-dept-row-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: clamp(13px, 0.9vw, 14px); text-align: start; }

.ul-map-container { overflow: hidden; border: 3px solid rgba(212, 175, 55, 0.2); border-radius: 16px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); }
.ul-map-container iframe { display: block; width: 100%; height: 450px; border: 0; }

@media (max-width: 991px) {
  .ul-contact-layout { grid-template-columns: 1fr; }
  .ul-contact-card { margin-bottom: 20px; }
  .ul-social-links { grid-template-columns: 1fr; }
  .ul-page-hero { padding: clamp(50px, 6vw, 80px) 0 clamp(30px, 4vw, 60px); }
}

@media (max-width: 767px) {
  .ul-form-submit { flex-direction: column; align-items: stretch; }
  .ul-submit-btn { width: 100%; justify-content: center; }
  .ul-contact-info-item { flex-direction: column; text-align: center; }
  .ul-contact-icon { margin: 0 auto; }
  .ul-dept-row { justify-content: center; }
  .ul-map-container iframe { height: 350px; }
}

@media (max-width: 575px) {
  .ul-page-hero-title { font-size: 28px; }
  .ul-contact-card, .ul-department-card { padding: 20px; }
}

html[dir="ltr"] .ul-contact-info-item:hover { transform: translateX(5px); }
html[dir="ltr"] .ul-dept-row:hover { transform: translateX(4px); }