/* =========================================
   IICA MASTER DEBUGGING MODE
   To use: Remove the /* and */ /* around the rule below.
   This will outline every element in red to instantly spot layout/overflow issues.
========================================= */
/*
* {
    outline: 1px solid rgba(255, 0, 0, 0.4) !important;
    background: rgba(255, 0, 0, 0.05) !important;
}
*/

/* ---------------------------- */
/* IICA | CONTACT PAGE STYLES   */
/* ---------------------------- */

.contact-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 50px;
}

.contact-info-col, .contact-form-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-col-title, .contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    /* ENHANCED: Prevent layout shifts */
    transform: translateZ(0);
}

.contact-method:hover .icon-box {
    /* ENHANCED: Forced GPU rendering on hover */
    transform: scale(1.15) translateZ(0);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.5);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    /* ENHANCED: Targeted fluid transitions */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.icon-box-cyan { background: var(--accent-cyan); }
.icon-box-purple { background: var(--accent-purple); }
.icon-box-blue { background: var(--accent-blue); }

.contact-method h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.contact-method p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Contact Form */
.contact-form-col form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-col input,
.contact-form-col select,
.contact-form-col textarea {
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-main);
    font-size: 1rem;
    /* ENHANCED: Smooth focus states */
    transition: border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.4s ease;
    will-change: border-color, box-shadow, background-color;
}

.contact-form-col input:focus,
.contact-form-col select:focus,
.contact-form-col textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    /* Softened shadow to prevent glowing artifacts from bleeding */
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
    background: var(--glass-hover);
}

.contact-form-col button {
    margin-top: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .contact-info-col, .contact-form-col {
        width: 100%;
    }
    .contact-form-col form input,
    .contact-form-col form select,
    .contact-form-col form textarea {
        font-size: 0.95rem;
    }
    .contact-title {
        font-size: 2.5rem;
    }
    .contact-subtitle {
        font-size: 1rem;
    }
}