/* ================================
   Custom Contact Section
================================ */

.custom-contact-section {
    padding: 80px 0;
    background:
        linear-gradient(
            135deg,
            #f4f7fb 0%,
            #eef3f9 50%,
            #f8fbff 100%
        );
    position: relative;
    overflow: hidden;
}

/* Background Glow */

.custom-contact-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: rgba(0, 123, 255, 0.08);
    border-radius: 50%;
    filter: blur(80px);
}

.custom-contact-section::after {
    content: "";
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: rgba(0, 180, 255, 0.08);
    border-radius: 50%;
    filter: blur(80px);
}

.custom-contact-wrapper {
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ================================
   Contact Card
================================ */

.custom-contact-card {
    background: rgba(255, 255, 255, 0.75);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 20px;

    padding: 40px;

    height: 100%;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.03);

    transition: all 0.35s ease;

    position: relative;
    overflow: hidden;
}

/* Hover Effect */

.custom-contact-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Top Accent Line */

.custom-contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #007bff,
        #00c6ff
    );
}

/* ================================
   Icons
================================ */

.custom-contact-card img {
    width: 42px;
    height: 42px;
    margin-bottom: 25px;
}

/* ================================
   Title
================================ */

.custom-contact-title {
    display: block;

    font-size: 24px;
    font-weight: 600;

    color: #111;

    margin-bottom: 25px;

    line-height: 1.3;
}

/* ================================
   Text
================================ */

.custom-contact-card p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 0;
}

/* Address Spacing */

.custom-contact-content p + p {
    margin-top: 32px;
}

/* ================================
   Right Side Cards
================================ */

.custom-contact-card:not(.custom-address-card) {
    min-height: 240px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ================================
   Tablet Responsive
================================ */

@media (max-width: 991px) {

    .custom-contact-section {
        padding: 60px 0;
    }

    .custom-contact-card {
        padding: 35px 30px;
    }

    .custom-contact-title {
        font-size: 26px;
    }

    .custom-contact-card p {
        font-size: 16px;
    }
}

/* ================================
   Mobile Responsive
================================ */

@media (max-width: 767px) {

    .custom-contact-section {
        padding: 50px 0;
    }

    .custom-contact-card {
        padding: 30px 25px;
        border-radius: 16px;
    }

    .custom-contact-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .custom-contact-card img {
        width: 45px;
        height: 45px;
        margin-bottom: 20px;
    }

    .custom-contact-card p {
        font-size: 15px;
        line-height: 1.8;
    }

    .custom-contact-card:not(.custom-address-card) {
        min-height: auto;
    }
}

/* ================================
   Small Mobile
================================ */

@media (max-width: 575px) {

    .custom-contact-section {
        padding: 40px 0;
    }

    .custom-contact-card {
        padding: 25px 20px;
    }

    .custom-contact-title {
        font-size: 22px;
    }

    .custom-contact-card p {
        font-size: 14px;
    }
}