/* ==========================================================================
   KKR Multitech Engineers - Contact Us Page Scoped Styles
   ========================================================================== */

.contact-banner-section {
  position: relative;
  background-image: url(../images/contact-page/banner/contact-banner.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 200px 0 130px;
  margin-top: 80px;
  min-height: 280px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.contact-banner-section .title-outer {
  position: relative;
  z-index: 2;
  margin-top: -59px;
}

.contact-banner-section .title {
  font-size: 52px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}



/* ==========================================================================
   Contact Details & Info Cards
   ========================================================================== */
.contact-details {
  position: relative;
  padding: 80px 0;
  background-color: #fcfdfe;
  overflow: hidden;
  isolation: isolate;
}

.contact-details-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.contact-details-blob-1 {
  top: 10%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 115, 190, 0.06) 0%, transparent 70%);
}

.contact-details-blob-2 {
  bottom: 10%;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(246, 147, 28, 0.05) 0%, transparent 70%);
}

.contact-details .container {
  position: relative;
  z-index: 1;
}

/* Section Titles */
.contact-details .sec-title {
  margin-bottom: 35px;
}

.contact-details .sec-title .sub-title {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #1473be;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 6px 16px;
  background-color: rgba(20, 115, 190, 0.08);
  border: 1px solid rgba(20, 115, 190, 0.15);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-details .sec-title .sub-title:before {
  display: none !important;
}

.contact-details .sec-title h2 {
  font-size: 38px;
  font-weight: 800;
  color: #0E233E;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 0;
}

.contact-details .sec-title .text {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-top: 20px;
}

/* Contact Info Cards List */
.contact-info-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 24px 30px;
  box-shadow: 0 10px 30px rgba(14, 35, 62, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 115, 190, 0.35);
  box-shadow: 0 20px 40px rgba(14, 35, 62, 0.08);
  background-color: #ffffff;
}

.contact-info-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(20, 115, 190, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card-icon i {
  font-size: 22px;
  color: #1473be;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover .contact-info-card-icon {
  background: #1473be;
}

.contact-info-card:hover .contact-info-card-icon i {
  color: #ffffff;
  transform: scale(1.1);
}

.contact-info-card-content h6 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f6931c;
  margin: 0 0 6px 0;
}

.contact-info-card-content a,
.contact-info-card-content span {
  font-size: 17px;
  font-weight: 700;
  color: #0E233E;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.contact-info-card-content a:hover {
  color: #1473be;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 28px;
  padding: 45px;
  box-shadow: 0 20px 50px rgba(14, 35, 62, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.contact-form-card:hover {
  border-color: rgba(20, 115, 190, 0.2);
  box-shadow: 0 30px 60px rgba(14, 35, 62, 0.08);
}

/* Input design styling */
.contact-form-card label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

.contact-form-card label small {
  color: #ef4444;
}

.contact-form-card .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 15px;
  color: #0E233E;
  transition: all 0.3s ease;
  background-color: #fafbfc;
}

.contact-form-card select.form-control option {
  color: #0e233e;
  background-color: #ffffff;
}

.contact-form-card .form-control:focus {
  border-color: #1473be;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(20, 115, 190, 0.1);
  outline: none;
}

.contact-form-card textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-form-card .btn-style-one {
  background-color: #1473be;
  border: 1px solid #1473be;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 100px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(20, 115, 190, 0.15);
  cursor: pointer;
  margin-right: 12px;
}

.contact-form-card .btn-style-one:hover {
  background-color: #f6931c;
  border-color: #f6931c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(246, 147, 28, 0.25);
}

.contact-form-card .btn-style-reset {
  background-color: transparent;
  border: 1.5px solid #cbd5e1;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-form-card .btn-style-reset:hover {
  background-color: #cbd5e1;
  color: #0E233E;
  transform: translateY(-2px);
}

/* Map Section Styles */
.contact-map-section {
  padding-bottom: 80px;
  background-color: #fcfdfe;
}

.contact-map-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(20, 115, 190, 0.12);
  box-shadow: 0 25px 60px rgba(14, 35, 62, 0.08);
  position: relative;
  background: #ffffff;
}

.contact-map-card iframe {
  display: block;
  border: 0;
  width: 100%;
}

/* Mobile responsive fixes for contact info cards and email text overflow */
@media only screen and (max-width: 480px) {
  .contact-info-card {
    padding: 16px 20px !important;
    gap: 16px !important;
    border-radius: 16px !important;
  }
  
  .contact-info-card-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }
  
  .contact-info-card-icon i {
    font-size: 18px !important;
  }
  
  .contact-info-card-content a,
  .contact-info-card-content span {
    font-size: 14px !important;
    word-break: break-all !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}
