/* ==========================================================================
       CONTACT SECTION STYLING
       ========================================================================== */
.contact-section {
  background-color: var(--bg-soft);
  padding: 100px 0;
  overflow: hidden;
}

/* -- Contact Cards -- */
.contact-info-card {
  background: #ffffff;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.02);
  text-decoration: none;
  display: block;
  color: inherit;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255, 126, 95, 0.15);
  color: inherit;
}

.contact-icon {
  font-size: 1.8rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  transition: transform 0.4s ease;
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-info-card h5 {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.contact-info-card:hover p {
  color: var(--primary-color);
}

/* -- Form Styling -- */
.contact-form-wrapper {
  background: #ffffff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.form-floating > .form-control {
  padding: 1rem 1.25rem;
}

.form-floating > label {
  padding: 1rem 1.25rem;
  color: #adb5bd;
}

.form-control {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  background-color: #fcfdfe;
  transition: all 0.3s ease;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(255, 126, 95, 0.15);
}

textarea.form-control {
  min-height: 150px;
}

/* -- Button -- */
.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(255, 126, 95, 0.3);
}

.btn-submit:hover:not(:disabled) {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 126, 95, 0.4);
}

.btn-submit:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* -- Map Container -- */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  height: 100%;
  min-height: 400px;
}

/* ==========================================================================
       BRANCHES SECTION STYLING
       ========================================================================== */
.branches-section {
  background-color: #ffffff; /* Alternating background color */
  padding: 100px 0;
  overflow-x: hidden;
}

.section-title {
  color: var(--dark-color);
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.section-title.centered::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* -- Branch Card -- */
.branch-card {
  background: #f8faff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(0, 0, 0, 0.02);
  height: 100%;
  position: relative;
}

.branch-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 126, 95, 0.12);
}

.branch-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.branch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.branch-card:hover .branch-img {
  transform: scale(1.08);
}

.head-office-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.branch-content {
  padding: 2rem 1.5rem;
}

.branch-content h4 {
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.branch-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.branch-detail:last-child {
  margin-bottom: 0;
}

.branch-detail i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
  width: 25px;
  flex-shrink: 0;
}

.branch-detail a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.branch-detail a:hover {
  color: var(--primary-color);
}

/* ==========================================================================
       SCROLL REVEAL ANIMATIONS
       ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.25s;
}
.delay-3 {
  transition-delay: 0.4s;
}
