/* -----------------------------------------------------------------------
   CONTACT PAGE — EXTERNAL STYLES
   ----------------------------------------------------------------------- */

/* Hero mascot accent */
.contact-hero-mascot {
  position: absolute;
  bottom: 0;
  right: 5%;
  height: 320px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25));
  animation: mascotFloat 5s ease-in-out infinite;
  z-index: 2;
}

@media (max-width: 991px) {
  .contact-hero-mascot {
    height: 200px;
    right: 2%;
  }
}

@media (max-width: 575px) {
  .contact-hero-mascot {
    display: none;
  }
}

/* ---- Contact Info Cards ---- */
.contact-info-strip {
  padding: 70px 0 0;
  background: var(--white);
}

.cinfo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(38, 49, 139, 0.09);
  border: 1.5px solid rgba(38, 49, 139, 0.07);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.cinfo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(38, 49, 139, 0.15);
  border-color: rgba(38, 49, 139, 0.15);
}

.cinfo-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.35s ease;
}

.cinfo-icon.blue {
  background: rgba(38, 49, 139, 0.1);
  color: var(--primary-color);
}

.cinfo-icon.green {
  background: rgba(0, 166, 81, 0.1);
  color: var(--accent-color);
}

.cinfo-icon.yellow {
  background: rgba(255, 204, 0, 0.18);
  color: #b38000;
}

.cinfo-icon.red {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.cinfo-card:hover .cinfo-icon.blue {
  background: var(--primary-color);
  color: #fff;
}

.cinfo-card:hover .cinfo-icon.green {
  background: var(--accent-color);
  color: #fff;
}

.cinfo-card:hover .cinfo-icon.yellow {
  background: #ffcc00;
  color: var(--primary-color);
}

.cinfo-card:hover .cinfo-icon.red {
  background: #dc3545;
  color: #fff;
}

.cinfo-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.cinfo-detail {
  font-family: var(--font-body);
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.cinfo-detail a {
  color: #666;
  text-decoration: none;
}

.cinfo-detail a:hover {
  color: var(--primary-color);
}

/* ---- Main Contact Section ---- */
.contact-section {
  padding: 70px 0 100px;
  background: var(--white);
}

/* Left info panel */
.contact-panel-left {
  background: linear-gradient(145deg, var(--primary-color) 0%, #0f1035 100%);
  border-radius: 20px;
  padding: 40px 36px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 580px;
  box-shadow: 0 16px 48px rgba(38, 49, 139, 0.25);
  position: relative;
  overflow: hidden;
}

.contact-panel-left::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.contact-panel-left::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 0, 0.05);
}

.cpl-heading {
  font-family: var(--font-brand);
  font-size: 26px;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.cpl-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.cpl-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.cpl-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cpl-item:hover .cpl-item-icon {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.cpl-item-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.cpl-item-value {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.cpl-item-value a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.cpl-item-value a:hover {
  color: var(--secondary-color);
}

/* Social icons in panel */
.cpl-socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.cpl-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cpl-social-btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  border-color: var(--secondary-color);
}

/* Mascot at bottom of panel */
.cpl-mascot {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  max-height: 130px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  margin-top: 16px;
}

/* Right form panel */
.contact-panel-right {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 32px rgba(38, 49, 139, 0.08);
  border: 1.5px solid rgba(38, 49, 139, 0.07);
}

/* Nav pills (tabs) */
#formTabs .nav-link {
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-color);
  padding: 8px 22px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

#formTabs .nav-link:hover {
  background: rgba(38, 49, 139, 0.05);
}

#formTabs .nav-link.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Form controls override */
.contact-panel-right .form-control,
.contact-panel-right .form-select {
  border-radius: 12px;
  border: 1.5px solid rgba(38, 49, 139, 0.12);
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.contact-panel-right .form-control:focus,
.contact-panel-right .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.15);
}

.contact-panel-right .form-floating label {
  font-size: 14px;
  color: #888;
}

/* Submit buttons */
.contact-panel-right .btn-premium,
.contact-panel-right .btn-secondary-premium {
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 50px;
}

/* ---- Map Section ---- */
.contact-map-section {
  padding: 0 0 100px;
  background: var(--white);
}

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(38, 49, 139, 0.12);
  border: 4px solid var(--white);
  outline: 1.5px solid rgba(38, 49, 139, 0.08);
  position: relative;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: none;
}

.map-overlay-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.mob-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.mob-label {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mob-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
}

/* ---- Business Hours Strip ---- */
.hours-strip {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--primary-color), #1e2467);
}

.hours-item {
  text-align: center;
  color: #fff;
  padding: 10px 0;
}

.hours-item i {
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  display: block;
}

.hours-item h5 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}

.hours-item p {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.hours-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  margin: auto;
}

@media (max-width: 767px) {
  .hours-divider {
    display: none;
  }
}

/* ---- CTA Banner ---- */
.contact-cta-banner {
  background: linear-gradient(135deg, #f0f2ff 0%, #fffdf0 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.contact-cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 49, 139, 0.07) 0%, transparent 70%);
}

.cta-mascot-wrapper {
  position: absolute;
  top: 50%;
  right: 60px;
  height: 280px;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.cta-mascot-right {
  height: 100%;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
  animation: mascotFloat 5.5s ease-in-out infinite;
}

@media (max-width: 991px) {
  .cta-mascot-wrapper {
    height: 200px;
    right: 20px;
  }
}

@media (max-width: 767px) {
  .cta-mascot-wrapper {
    display: none;
  }
}

/* Preloader — defined in style.css / animation.css */

/* ---- AOS Fallback — ensure visibility if CDN fails (file:// or offline) ---- */
[data-aos] {
  transition-duration: 0.8s !important;
}

/* If AOS JS never initializes, force all aos elements to be visible */
html:not(.aos-js-loaded) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/* Curved divider */
.curved-divider-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.curved-divider-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}

.curved-divider-bottom .shape-fill {
  fill: var(--white);
}

/* Hero section background */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0f1035 60%, #1a2070 100%);
}
