/* ==========================================================================
   DCM YES - Contact Page Styling
   Theme: #D71920 (Brand Red), #0F2A44 (Dark Blue), #F4B400 (Gold Accent)
   ========================================================================== */

/* --- Hero Section --- */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #071524 0%, #0F2A44 60%, #173b5e 100%);
    padding: 55px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.contact-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

.contact-hero-blob-1 {
    width: 300px;
    height: 300px;
    top: -90px;
    left: -50px;
    background: rgba(215, 25, 32, 0.22);
}

.contact-hero-blob-2 {
    width: 240px;
    height: 240px;
    bottom: 15px;
    right: -30px;
    background: rgba(244, 180, 0, 0.18);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(244, 180, 0, 0.15);
    border: 1px solid rgba(244, 180, 0, 0.4);
    color: #F4B400;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.contact-hero-title {
    font-family: 'Raleway', 'Poppins', sans-serif;
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.22;
    margin-bottom: 10px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
}

.contact-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(13.5px, 1.5vw, 15px);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 18px;
}

.contact-hero-breadcrumb {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    list-style: none !important;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 6px 22px;
    margin: 0 auto;
}

.contact-hero-breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.contact-hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color .25s ease;
}

.contact-hero-breadcrumb .breadcrumb-item a:hover {
    color: #F4B400;
}

.contact-hero-breadcrumb .breadcrumb-item.active {
    color: #F4B400;
    font-weight: 600;
}

.contact-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: rgba(255, 255, 255, 0.45);
    padding: 0 8px;
}

.contact-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.contact-hero-wave svg {
    display: block;
    width: 100%;
    height: 45px;
}

/* --- Quick Info Cards Grid (Interactive) --- */
.contact-cards-section {
    position: relative;
    z-index: 3;
    margin-top: -45px;
    padding-bottom: 25px;
}

.contact-card-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
    border: 1px solid rgba(15, 42, 68, 0.08);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.contact-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.35s ease;
}

.contact-card-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

.contact-card-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(15, 42, 68, 0.14);
    border-color: rgba(215, 25, 32, 0.25);
}

.contact-card-box:hover::before {
    background: linear-gradient(90deg, #D71920, #F4B400);
}

.contact-card-box:hover::after {
    left: 150%;
}

/* Card Topbar */
.contact-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.contact-card-box:hover .contact-card-icon {
    transform: scale(1.12) rotate(4deg);
}

.contact-icon-red {
    background: rgba(215, 25, 32, 0.1);
    color: #D71920;
}

.contact-icon-gold {
    background: rgba(244, 180, 0, 0.15);
    color: #b87f00;
}

.contact-icon-blue {
    background: rgba(15, 42, 68, 0.1);
    color: #0F2A44;
}

.contact-icon-teal {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

/* Topbar Badges */
.contact-card-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.badge-red   { background: rgba(215, 25, 32, 0.1); color: #D71920; }
.badge-gold  { background: rgba(244, 180, 0, 0.15); color: #996a00; }
.badge-green { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.badge-teal  { background: rgba(13, 148, 136, 0.12); color: #0d9488; }

/* Status Pulse Dot */
.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.contact-card-title {
    font-family: 'Raleway', sans-serif;
    font-size: 16.5px;
    font-weight: 800;
    color: #0F2A44;
    margin-bottom: 6px;
}

.contact-card-text {
    font-size: 13px;
    color: #556980;
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}

.contact-mail-link,
.contact-phone-link {
    color: #0F2A44;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
}

.contact-mail-link:hover,
.contact-phone-link:hover {
    color: #D71920;
    text-decoration: underline;
}

/* Card Actions / Interactive Buttons */
.contact-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.btn-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 50px;
    text-decoration: none;
    flex-grow: 1;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

.btn-card-action.primary {
    background: #0F2A44;
    color: #ffffff;
}
.btn-card-action.primary:hover {
    background: #D71920;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(215, 25, 32, 0.3);
}

.btn-card-action.gold {
    background: linear-gradient(135deg, #F4B400, #e09f00);
    color: #0F2A44;
}
.btn-card-action.gold:hover {
    background: linear-gradient(135deg, #e09f00, #c48900);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(244, 180, 0, 0.35);
}

.btn-card-action.green {
    background: #25d366;
    color: #ffffff;
}
.btn-card-action.green:hover {
    background: #1eb954;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-card-action.outline-blue {
    background: rgba(15, 42, 68, 0.08);
    color: #0F2A44;
}
.btn-card-action.outline-blue:hover {
    background: #0F2A44;
    color: #ffffff;
}

.btn-card-action.teal {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #ffffff;
}
.btn-card-action.teal:hover {
    background: linear-gradient(135deg, #0f766e, #115e59);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

/* Icon Copy Button */
.btn-card-icon-action {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.btn-card-icon-action:hover {
    background: #0F2A44;
    border-color: #0F2A44;
    color: #ffffff;
    transform: scale(1.08);
}

.btn-card-icon-action.copied {
    background: #dcfce7;
    border-color: #86efac;
    color: #16a34a;
}

/* --- Main Content Area --- */
.contact-main-section {
    padding: 15px 0 50px;
    background-color: #f8fafc;
}

/* Left info block */
.contact-info-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(15, 42, 68, 0.07);
    box-shadow: 0 8px 25px rgba(15, 42, 68, 0.04);
    height: 100%;
}

.contact-section-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #D71920;
    background: rgba(215, 25, 32, 0.07);
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.contact-panel-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(20px, 2.2vw, 25px);
    font-weight: 800;
    color: #0F2A44;
    line-height: 1.25;
    margin-bottom: 10px;
}

.contact-panel-desc {
    font-size: 13.5px;
    color: #556980;
    line-height: 1.6;
    margin-bottom: 18px;
}

.contact-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.contact-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(15, 42, 68, 0.06);
    color: #0F2A44;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-feature-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F2A44;
    margin-bottom: 2px;
}

.contact-feature-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Social links */
.contact-social-wrap {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 18px;
}

.contact-social-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #0F2A44;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    color: #0F2A44;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.contact-social-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.contact-social-btn.facebook:hover  { background: #1877f2; border-color: #1877f2; }
.contact-social-btn.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: transparent; }
.contact-social-btn.linkedin:hover  { background: #0077b5; border-color: #0077b5; }
.contact-social-btn.twitter:hover   { background: #000000; border-color: #000000; }
.contact-social-btn.youtube:hover   { background: #ff0000; border-color: #ff0000; }
.contact-social-btn.whatsapp:hover  { background: #25d366; border-color: #25d366; }

/* Right Form Panel */
.contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(15, 42, 68, 0.07);
    box-shadow: 0 10px 30px rgba(15, 42, 68, 0.06);
    position: relative;
    height: 100%;
}

.contact-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f6;
}

.contact-form-title {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0F2A44;
    margin: 0;
}

.contact-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(244, 180, 0, 0.12);
    color: #9c6e00;
    border: 1px solid rgba(244, 180, 0, 0.3);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 600;
}

.form-field-group {
    margin-bottom: 14px;
}

.form-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F2A44;
    margin-bottom: 6px;
}

.form-field-label .req {
    color: #D71920;
    font-weight: 700;
}

.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.25s ease;
}

.form-input-custom {
    width: 100%;
    padding: 10px 14px 10px 40px;
    font-size: 13.5px;
    font-family: 'Poppins', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.25s ease;
    outline: none;
}

.form-input-custom:focus {
    background-color: #ffffff;
    border-color: #D71920;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}

.form-input-custom:focus + .form-input-icon,
.form-input-wrap:focus-within .form-input-icon {
    color: #D71920;
}

textarea.form-input-custom {
    min-height: 95px;
    resize: vertical;
    padding-top: 10px;
}

.form-input-wrap.has-textarea .form-input-icon {
    top: 12px;
}

.form-error-msg {
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    font-weight: 500;
}

.contact-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #D71920 0%, #b81218 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(215, 25, 32, 0.3);
    transition: all 0.25s ease;
    margin-top: 4px;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #b81218 0%, #9e0e13 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(215, 25, 32, 0.4);
    color: #ffffff;
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-form-footer-note {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

/* --- Map & Directions Section --- */
.contact-map-section {
    padding: 10px 0 60px;
    background-color: #f8fafc;
}

.contact-map-frame-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 42, 68, 0.1);
    border: 1px solid rgba(15, 42, 68, 0.08);
    background: #ffffff;
}

.contact-map-frame {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.contact-map-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 10;
}

.contact-map-card-title {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #0F2A44;
    margin-bottom: 3px;
}

.contact-map-card-tag {
    font-size: 11px;
    color: #D71920;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.contact-map-card-address {
    font-size: 12.5px;
    color: #556980;
    line-height: 1.4;
    margin-bottom: 10px;
}

.contact-map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0F2A44;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease;
}

.contact-map-directions-btn:hover {
    background: #D71920;
    color: #ffffff;
}

/* Modal Styling */
.modal-custom-width {
    max-width: 420px;
}

.modal-header-primary {
    background: linear-gradient(135deg, #0F2A44, #173b5e);
    color: #ffffff;
    border-bottom: none;
    padding: 14px 18px;
}

.modal-header-primary .btn-close {
    filter: invert(1);
}

.contact-alert-hidden {
    display: none;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .contact-hero {
        padding: 45px 15px 70px;
    }
    .contact-cards-section {
        margin-top: -30px;
        padding-bottom: 20px;
    }
    .contact-main-section {
        padding: 10px 0 40px;
    }
    .contact-map-section {
        padding: 10px 0 45px;
    }
    .contact-map-card-overlay {
        position: static;
        max-width: 100%;
        margin: 14px;
        box-shadow: none;
    }
    .contact-map-frame {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .contact-info-panel,
    .contact-form-card {
        padding: 22px 16px;
    }
    .contact-card-box {
        padding: 18px 16px;
    }
}
