/* corporate-website/assets/css/contact-beautify.css */

/* General Enhancements */
.hover-lift-light {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Hero 区域美化 */
.contact-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/><circle cx="20" cy="60" r="0.5" fill="white" opacity="0.15"/><circle cx="80" cy="40" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}


@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}


/* Contact Methods Section Enhancements */
.contact-sidebar-card {
  border: 1px solid #e9ecef;
  transition: all 0.3s ease-in-out;
}

.contact-sidebar-card:hover {
  border-color: #a5c33cF;
}

.contact-email-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #a5c33cF, #3A64D9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-email-icon .fa-envelope {
  color: #fff;
  font-size: 20px;
}

/* Process Steps Enhancements */
.process-flow {
  position: relative;
}

.process-step-col {
  position: relative;
}

 

.process-step .g-bg-primary {
    background: #a5c33c !important;
    box-shadow: 0 4px 15px #a5c33c !important;
}

/* FAQ Section Enhancements */
.contact-faq-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #a5c33cF;
  height: 100%;
  transition: all 0.3s ease;
}

.contact-faq-item:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- Appended Styles --- */

/* Textured background for sections */
.g-bg-gray-light-v5 {
    background-color: #f8f9fa !important;
    position: relative;
}
.g-bg-gray-light-v5::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e9ecef' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}
/* Make sure content is above the pattern */
.g-bg-gray-light-v5 > .container {
    position: relative;
    z-index: 1;
}


/* Enhanced button style */
.u-btn-primary {
    background-color: #a5c33c !important;
    border-color: #a5c33c !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(77, 123, 255, 0.3);
}

.u-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 123, 255, 0.5);
}

/* Enhanced badge styles */
.badge-primary, .badge-success, .badge-warning, .badge-info {
    padding: 8px 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.badge-success-custom {
    background-color: #28a745;
    color: #fff;
    border-radius: 50px;
}

/* QR Code hover effect */
.contact-qr-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.contact-qr-img {
    transition: transform 0.4s ease;
}

.contact-qr-wrapper:hover .contact-qr-img {
    transform: scale(1.1);
}

.contact-qr-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
}

.contact-qr-wrapper:hover .contact-qr-overlay {
    opacity: 1;
}

/* Response time bar animation */
.contact-response-progress {
    width: 0; /* Start at 0 */
    animation: progress-bar-fill 1.5s 0.5s ease-out forwards;
    background: linear-gradient(90deg, #a5c33c, #7ba428);
}

@keyframes progress-bar-fill {
    to {
        width: 80%;
    }
}

/* --- Appended Styles for Image-based Refactoring --- */

/* Simplified icon wrapper for email card */
.contact-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

/* Response time card styles */
.contact-card-response {
    background-color: #f0fbf3;
    border: 1px solid #d1f0dd;
}

.response-icon-wrapper {
    width: 50px;
    height: 50px;
    background: #94c748;
}

.contact-card-response .g-color-blue {
    color: #a5c33c !important;
}

.contact-card-response .g-color-success {
    color: #28a745 !important;
}

/* Override FAQ item styles to match image */
.contact-faq-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    border-left: 3px solid #a5c33c;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #a5c33cF;
}

/* Adjust badge for icon-only display */
.process-step .badge {
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
}