/* ==========================================================================
   Thailand Lean Award - Contact Page Specific Styles (styleContact.css)
   ========================================================================== */

/* Main Contact Page Wrapper */
.contact-page {
    padding-top: 110px;
    padding-bottom: 80px;
}

/* ==================== 1. Contact Hero Section ==================== */
.contact-hero-section {
    max-width: 1240px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.contact-hero-card {
    background: linear-gradient(135deg, #370d52 0%, #521873 50%, #7b2c9f 100%);
    border-radius: var(--radius-xl, 24px);
    padding: 50px 36px 44px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 45px rgba(82, 24, 115, 0.22);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-hero-card::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fef08a;
    padding: 6px 18px;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.contact-badge-dot {
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 10px #fbbf24;
    animation: contactPulse 2s infinite ease-in-out;
}

@keyframes contactPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.contact-hero-title {
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #ffffff;
    font-family: 'Prompt', 'Kanit', sans-serif;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fef08a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contact-hero-desc {
    font-size: clamp(0.98rem, 1.8vw, 1.12rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 760px;
    margin: 0 auto 28px;
    line-height: 1.75;
    font-weight: 300;
}

.contact-hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 16px;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.88rem;
    color: #f8fafc;
    backdrop-filter: blur(8px);
}

.contact-hero-pill svg {
    color: #fbbf24;
}

/* ==================== 2. Main Content Container ==================== */
.contact-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg, 20px);
    padding: 30px 26px;
    box-shadow: 0 10px 25px -5px rgba(82, 24, 115, 0.06), 0 8px 10px -6px rgba(82, 24, 115, 0.03);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #521873), var(--gold-light, #f59e0b));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 35px -10px rgba(82, 24, 115, 0.14), 0 12px 18px -8px rgba(245, 158, 11, 0.1);
    border-color: rgba(123, 44, 159, 0.25);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(82, 24, 115, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
    border: 1px solid rgba(82, 24, 115, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #521873);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-card-icon {
    background: linear-gradient(135deg, var(--primary, #521873) 0%, var(--primary-light, #7b2c9f) 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(82, 24, 115, 0.25);
    transform: scale(1.05);
}

.contact-card-title-group h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-main, #1e1b4b);
    line-height: 1.35;
    margin-bottom: 3px;
}

.contact-card-title-group .card-subtitle {
    font-size: 0.82rem;
    color: var(--text-light, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.contact-card-body {
    flex-grow: 1;
    color: var(--text-muted, #475569);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.contact-highlight-text {
    color: var(--primary, #521873);
    font-weight: 600;
}

.contact-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.contact-mini-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.contact-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-contact-primary {
    background: linear-gradient(135deg, var(--primary, #521873) 0%, var(--primary-light, #7b2c9f) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(82, 24, 115, 0.2);
}

.btn-contact-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark, #3b0d55) 0%, var(--primary, #521873) 100%);
    box-shadow: 0 6px 20px rgba(82, 24, 115, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-contact-outline {
    background: #f8fafc;
    color: var(--primary, #521873);
    border: 1.5px solid rgba(82, 24, 115, 0.18);
}

.btn-contact-outline:hover {
    background: rgba(82, 24, 115, 0.05);
    border-color: var(--primary, #521873);
    transform: translateY(-2px);
    color: var(--primary, #521873);
}

.btn-contact-gold {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-contact-gold:hover {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==================== 3. Interactive Map & Transport Section ==================== */
.contact-map-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 26px;
    background: #ffffff;
    border-radius: var(--radius-xl, 24px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 26px;
    box-shadow: 0 16px 36px -8px rgba(82, 24, 115, 0.08);
    margin-bottom: 40px;
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-md, 16px);
    overflow: hidden;
    min-height: 400px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    background: #e2e8f0;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.transport-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.transport-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main, #1e1b4b);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.transport-panel-title svg {
    color: var(--gold, #d97706);
}

.transport-panel-desc {
    font-size: 0.92rem;
    color: var(--text-light, #64748b);
    margin-bottom: 20px;
    line-height: 1.6;
}

.transport-methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.transport-item:hover {
    background: #ffffff;
    border-color: rgba(82, 24, 115, 0.2);
    box-shadow: 0 4px 12px rgba(82, 24, 115, 0.05);
    transform: translateX(4px);
}

.transport-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(82, 24, 115, 0.08);
    color: var(--primary, #521873);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transport-item-content h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main, #1e1b4b);
    margin-bottom: 2px;
}

.transport-item-content p {
    font-size: 0.84rem;
    color: var(--text-muted, #475569);
    line-height: 1.5;
    margin: 0;
}

.map-direct-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    transition: all 0.25s ease;
}

.map-direct-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==================== 4. Award Association Banner ==================== */
.contact-awards-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px dashed rgba(82, 24, 115, 0.25);
    border-radius: var(--radius-lg, 20px);
    padding: 24px 30px;
    text-align: center;
}

.contact-awards-banner h4 {
    font-size: 1.05rem;
    color: var(--primary, #521873);
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-awards-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.contact-award-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main, #1e1b4b);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.contact-award-tag.highlight {
    background: linear-gradient(135deg, rgba(82, 24, 115, 0.08) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--primary, #521873);
}

/* ==================== Responsive Queries ==================== */
@media (max-width: 992px) {
    .contact-map-layout {
        grid-template-columns: 1fr;
    }
    .map-wrapper {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding-top: 90px;
        padding-bottom: 50px;
    }
    .contact-hero-card {
        padding: 36px 20px 30px;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .contact-info-card {
        padding: 24px 20px;
    }
    .contact-map-layout {
        padding: 18px;
    }
}
