/* Standardize contact icons across all pages to match web-hosting.php */

/* Contact icon base styling */
.contact-section .contact-icon {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
    border-radius: 12px !important; /* Square with rounded corners */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 20px !important;
    position: relative !important;
    box-shadow: 0 10px 20px rgba(0, 212, 176, 0.2) !important;
    transition: all 0.3s ease !important;
}

/* Gradient overlay */
.contact-section .contact-icon::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent) !important;
    border-radius: 12px !important;
    opacity: 0.6 !important;
}

/* Icon styling */
.contact-section .contact-icon i {
    font-size: 1.8rem !important;
    color: white !important;
    position: relative !important;
}

/* Hover effect */
.contact-section .contact-details li:hover .contact-icon {
    transform: translateY(-5px) rotate(5deg) !important;
    box-shadow: 0 15px 30px rgba(0, 212, 176, 0.3) !important;
}

/* Custom icon colors for each contact method */
.contact-section .contact-details li:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #4a6cf7, #2651f3) !important; /* Blue for location */
}

.contact-section .contact-details li:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #f7734a, #f32651) !important; /* Red for phone */
}

.contact-section .contact-details li:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #4af7a8, #26f36a) !important; /* Green for email */
}

/* Contact details list styling */
.contact-section .contact-details {
    margin-bottom: 2.5rem !important;
    list-style: none !important;
    padding: 0 !important;
}

.contact-section .contact-details li {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 1.5rem !important;
    transition: transform 0.3s ease !important;
}

.contact-section .contact-details li:hover {
    transform: translateX(10px) !important;
}

/* Contact text styling */
.contact-section .contact-text {
    flex: 1 !important;
}

.contact-section .contact-text strong {
    display: block !important;
    margin-bottom: 0.25rem !important;
    color: var(--dark) !important;
    font-size: 1.1rem !important;
}

.contact-section .contact-text p {
    margin: 0 !important;
    color: var(--gray) !important;
    line-height: 1.5 !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .contact-section .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .contact-section .contact-info {
        order: -1 !important; /* Ensure contact info appears above the form */
    }

    .contact-section .contact-details li {
        margin-bottom: 1.2rem !important;
    }

    .contact-section .contact-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .contact-section .contact-icon i {
        font-size: 1.5rem !important;
    }
}

/* Small mobile optimizations */
@media (max-width: 480px) {
    .contact-section .contact-icon {
        width: 45px !important;
        height: 45px !important;
        margin-right: 15px !important;
    }

    .contact-section .contact-icon i {
        font-size: 1.3rem !important;
    }

    .contact-section .contact-text strong {
        font-size: 1rem !important;
    }
}
