/* Contact Page Styles */

/* Banner Section - Shared with other pages */
.page-banner {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/logo/summit-banner.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 50px 20px;
}

    .page-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--ast-global-color-5) 100%);
        opacity: 0.7;
        z-index: 1;
    }

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.page-banner-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* Contact Content Section - Modern Design */
.contact-content-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 500px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .contact-content-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(28, 65, 121, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .contact-content-section::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -5%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(0, 136, 199, 0.04) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

/* Contact Info Cards - Modern Glassmorphism */
.contact-info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

    .contact-info-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .contact-info-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .contact-info-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    /* Gradient Border on Hover */
    .contact-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 20px;
        padding: 2px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .contact-info-card:hover::before {
        opacity: 1;
    }

    .contact-info-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 60px rgba(28, 65, 121, 0.2);
        background: rgba(255, 255, 255, 1);
    }

/* Icon with Pulse Effect */
.contact-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(28, 65, 121, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

    .contact-icon::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 50%;
        border: 2px solid var(--primary-color);
        opacity: 0;
        animation: iconPulse 2s ease-out infinite;
    }

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(28, 65, 121, 0.5);
}

.contact-icon i {
    font-size: 2.2rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-icon i {
    transform: scale(1.1);
}

/* Title and Text */
.contact-info-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

    .contact-info-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
        transition: width 0.4s ease;
    }

.contact-info-card:hover .contact-info-title::after {
    width: 80%;
}

.contact-info-text {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin: 0;
    word-break: break-word;
}

    .contact-info-text a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        position: relative;
        transition: all 0.3s ease;
        display: inline-block;
    }

        .contact-info-text a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .contact-info-text a:hover {
            color: var(--primary-dark);
            transform: translateX(3px);
        }

            .contact-info-text a:hover::after {
                width: 100%;
            }

/* Map Section - Enhanced */
.contact-map-section {
    margin-top: 80px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.contact-section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

    .contact-section-title::before {
        content: '';
        flex: 1;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(28, 65, 121, 0.3));
        margin-left: auto;
    }

    .contact-section-title i {
        color: var(--primary-color);
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, rgba(28, 65, 121, 0.1), rgba(28, 65, 121, 0.05));
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .contact-section-title:hover i {
        transform: scale(1.1);
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: #ffffff;
    }

.contact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    padding: 8px;
    transition: all 0.4s ease;
    position: relative;
}

    .contact-map-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 20px;
        padding: 3px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark), var(--primary-color));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .contact-map-wrapper:hover::before {
        opacity: 1;
    }

    .contact-map-wrapper:hover {
        transform: scale(1.01);
        box-shadow: 0 15px 50px rgba(28, 65, 121, 0.2);
    }

.contact-map-iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    border: none;
    display: block;
    transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-banner {
        min-height: 200px;
        padding: 40px 20px;
    }

    .page-banner-title {
        font-size: 2rem;
    }

    .contact-content-section {
        padding: 50px 0;
    }

    .contact-info-card {
        padding: 35px 25px;
        margin-bottom: 25px;
        border-radius: 18px;
    }

    .contact-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 25px;
    }

        .contact-icon i {
            font-size: 1.9rem;
        }

    .contact-info-title {
        font-size: 1.4rem;
    }

    .contact-info-text {
        font-size: 1rem;
    }

    .contact-map-section {
        margin-top: 60px;
    }

    .contact-section-title {
        font-size: 1.8rem;
    }

        .contact-section-title i {
            width: 45px;
            height: 45px;
            font-size: 1.5rem;
        }

    .contact-map-iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .page-banner {
        min-height: 180px;
        padding: 30px 20px;
    }

    .page-banner-title {
        font-size: 1.75rem;
    }

    .contact-content-section {
        padding: 40px 0;
    }

    .contact-info-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .contact-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }

        .contact-icon i {
            font-size: 1.6rem;
        }

    .contact-info-title {
        font-size: 1.25rem;
    }

    .contact-info-text {
        font-size: 0.95rem;
    }

    .contact-map-section {
        margin-top: 50px;
    }

    .contact-section-title {
        font-size: 1.5rem;
        gap: 12px;
    }

        .contact-section-title i {
            width: 40px;
            height: 40px;
            font-size: 1.3rem;
        }

    .contact-map-iframe {
        height: 300px;
    }
}
