/* ================= ULTRA-PREMIUM CONTACT INFO SECTION ================= */

.contact-info-section {
    background: radial-gradient(circle at center, rgba(215, 168, 79, 0.05) 0%, #07140f 40%);
    padding: 100px 6%;
    position: relative;
    overflow: hidden;
}

/* --- FIXED HEADING TO MATCH GLOBAL THEME --- */
.contact-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-section-heading span {
    width: 70px;
    height: 2px;
    background: #d7a84f;
}

.contact-section-heading p {
    color: #d7a84f;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
}

.contact-main-title {
    text-align: center;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.32;
    font-weight: 900;
    margin: 0 auto 58px;
    max-width: 980px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1250px;
    margin: 0 auto;
}

/* --- The Card --- */
.contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(215, 168, 79, 0.15);
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered Entry Delays */
.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.3s; }
.contact-card:nth-child(3) { animation-delay: 0.5s; }

/* The Sweeping Glass Shine */
.contact-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(215, 168, 79, 0.08),
        transparent
    );
    transform: rotate(35deg);
    transition: all 0.8s ease;
    pointer-events: none;
}

.contact-card:hover::before {
    top: 100%;
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-12px);
    border-color: rgba(215, 168, 79, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(215, 168, 79, 0.12);
    background: rgba(215, 168, 79, 0.05);
}

/* --- The Icon --- */
.contact-icon {
    position: relative;
    width: 85px;
    height: 85px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(215, 168, 79, 0.1);
    color: #d7a84f;
    font-size: 34px;
    border: 1px solid rgba(215, 168, 79, 0.3);
    transition: all 0.5s ease;
    z-index: 2;
    animation: goldPulse 2.5s infinite;
}

/* FIX: Size and center the icon images perfectly */
.contact-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.contact-card:hover .contact-icon {
    background: #d7a84f;
    color: #07140f;
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(215, 168, 79, 0.4);
}

/* --- Typography --- */
.contact-card h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    transition: 0.3s ease;
}

.contact-card:hover h3 {
    color: #d7a84f;
}

.contact-card p {
    color: #c8d6d2;
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

.contact-card p a {
    color: #c8d6d2;
    text-decoration: none;
    transition: 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-card p a:hover {
    color: #d7a84f;
    border-bottom: 1px solid #d7a84f;
}

/* ================= KEYFRAMES ================= */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215, 168, 79, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(215, 168, 79, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(215, 168, 79, 0);
    }
}

/* ================= RESPONSIVENESS ================= */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 25px;
    }
    .contact-card {
        padding: 40px 25px;
    }
}

@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
    }
    .contact-main-title {
        font-size: 38px;
        margin-bottom: 45px;
    }
    .contact-card:hover {
        transform: none;
    }
}
