html, body {
    overflow-x: hidden;
}

/* ===========================
   HEADING STYLES (Blue Theme)
   =========================== */

.contact-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a; /* Biru tua */
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
}

.contact-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    border-radius: 2px;
}

.contact-heading .text-warning {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ===========================
   CARD STYLES
   =========================== */

.contact-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
    height: 100%;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    z-index: 1;
}

.contact-card .card-body {
    padding: 2rem;
    position: relative;
}


/* ===========================
   CARD HEADER STYLES
   =========================== */

.contact-card h5 {
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-card h5::before {
    content: '📍';
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.contact-card:nth-child(2) h5::before {
    content: '📞';
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.contact-card hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dbeafe 50%, transparent 100%);
    margin-bottom: 1.5rem;
}


/* ===========================
   MAP STYLES
   =========================== */

.map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.18);
}

.map-container iframe {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}


/* ===========================
   CONTACT INFO STYLES
   =========================== */

.contact-info-section p {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-section p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: background 0.3s ease;
}

.contact-info-section p:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.contact-info-section p:nth-child(1)::before {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
}

.contact-info-section p:nth-child(2)::before {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

.contact-info-section p:nth-child(3)::before {
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

.contact-info-section p:nth-child(4)::before {
    background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
}

.contact-info-section strong {
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.5rem;
}


/* ===========================
   ICON STYLES
   =========================== */

.contact-info-section i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    color: #2563eb;
}

.contact-info-section p:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #1d4ed8;
}


/* ===========================
   SOCIAL MEDIA STYLES
   =========================== */

.contact-info-section p:last-child {
    line-height: 2;
}

.contact-info-section p:last-child i {
    font-size: 1.35rem;
}


/* ===========================
   RESPONSIVE STYLES
   =========================== */

@media (max-width: 768px) {
    .contact-heading { font-size: 1.5rem; }
    .contact-card .card-body { padding: 1.5rem; }
    .contact-card:hover { transform: translateY(-5px); }
    .map-container iframe { height: 300px !important; }
    .contact-info-section p { padding: 0.875rem; }
}

@media (max-width: 576px) {
    .contact-heading { font-size: 1.25rem; }
    .contact-heading::after { width: 70px; }
    .map-container iframe { height: 250px !important; }
}


/* ===========================
   ANIMATION UTILITIES
   =========================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

.contact-card:nth-child(2) { animation-delay: 0.2s; }


/* ===========================
   HOVER GLOW EFFECT
   =========================== */

.contact-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.contact-card:hover::after {
    opacity: 1;
}
