/* --- URBANITSA SOLUTION: CONTACT PAGE MASTER STYLES --- */

@layer page {
    .contact-page {
        padding: 180px 0 100px;
        min-height: 90vh;
        background-color: #0a0f1c; /* Midnight Blue */
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    /* Left Side Content */
    .badge {
        background: rgba(0, 209, 102, 0.1);
        color: #00d166;
        padding: 6px 16px;
        border-radius: 100px;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        border: 1px solid rgba(0, 209, 102, 0.2);
        display: inline-block;
        margin-bottom: 1rem;
    }

    .contact-info h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        line-height: 1.1;
        margin: 1.5rem 0;
        color: white;
        font-weight: 800;
    }

    .gradient {
        color: #6366f1; 
        background: linear-gradient(135deg, #60a5fa 30%, #a855f7 90%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block; 
    }

    .lead {
        color: #94a3b8;
        font-size: 1.2rem;
        margin-bottom: 3rem;
        line-height: 1.6;
    }

    /* Contact Method Items */
    .contact-methods {
        display: grid;
        gap: 20px;
    }

    .method-item {
        display: flex;
        gap: 20px;
        align-items: center;
        text-decoration: none;
        transition: 0.3s ease;
        padding: 10px;
        border-radius: 15px;
    }

    .method-icon {
        background: rgba(255, 255, 255, 0.03);
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #00d166;
        transition: 0.3s;
    }

    .method-icon svg {
        width: 24px;
        height: 24px;
    }

    .method-item h4 { margin: 0; color: white; font-size: 1.1rem; }
    .method-item p { margin: 0; color: #94a3b8; font-size: 0.95rem; }

    /* Hover States for Social/Contact */
    .link-item:hover .method-icon {
        background: #00d166;
        color: #0a0f1c;
        transform: scale(1.05);
    }

    .facebook:hover .method-icon {
        background: #1877F2;
        color: white;
        border-color: #1877F2;
    }

    /* --- FORM CONTAINER --- */
    .form-container {
        background: rgba(22, 29, 47, 0.6);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 50px;
        border-radius: 35px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    }

    .modern-form { display: grid; gap: 25px; }
    .input-group { display: grid; gap: 8px; }
    .input-group label { font-size: 0.85rem; color: #94a3b8; font-weight: 600; padding-left: 5px; }

    .input-group input, 
    .input-group textarea {
        background: rgba(10, 15, 28, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 20px;
        border-radius: 12px;
        color: white;
        font-family: inherit;
        font-size: 1rem;
        transition: 0.3s;
    }

    .input-group input:focus, 
    .input-group textarea:focus {
        outline: none;
        border-color: #00d166;
        box-shadow: 0 0 15px rgba(0, 209, 102, 0.1);
    }

    .input-group textarea { min-height: 140px; resize: vertical; }

    /* --- SUBMIT BUTTON FIX (PREVENTS GIANT ICON) --- */
    .submit-btn {
        background: #00d166;
        color: #0a0f1c;
        border: none;
        padding: 16px 32px;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 800;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition: 0.3s ease;
        width: 100%;
        margin-top: 10px;
    }

    .submit-btn svg {
        width: 20px;   /* FIXED SIZE: Stops the giant arrow */
        height: 20px;  /* FIXED SIZE */
        stroke: #0a0f1c;
        flex-shrink: 0;
        transition: 0.3s ease;
    }

    .submit-btn:hover {
        background: #00ff7c;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 209, 102, 0.3);
    }

    .submit-btn:hover svg {
        transform: translateX(5px);
    }

    /* --- MOBILE RESPONSIVE --- */
    @media (max-width: 992px) {
        .contact-grid { grid-template-columns: 1fr; gap: 60px; }
        .contact-page { padding-top: 140px; }
        .form-container { padding: 30px; }
    }
}
/* --- MODAL POPUP STYLES --- */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(10, 15, 28, 0.9); /* Matching Midnight Blue */
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .modal-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .modal-content {
        background: #161d2f;
        padding: 40px;
        border-radius: 24px;
        max-width: 450px;
        width: 90%;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .modal-overlay.show .modal-content {
        transform: translateY(0);
    }

    .modal-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
        display: block;
    }

    .modal-content h2 {
        color: white;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .modal-content p {
        color: #94a3b8;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .modal-btn {
        background: #00d166;
        color: #0a0f1c;
        border: none;
        padding: 14px 40px;
        border-radius: 12px;
        font-weight: 800;
        cursor: pointer;
        width: 100%;
        transition: 0.3s;
    }

    .modal-btn:hover {
        background: #00ff7c;
        transform: scale(1.02);
    }

    /* --- ERROR STATE --- */
    .modal-overlay.error-state .modal-icon { color: #ef4444; }
    .modal-overlay.error-state .modal-btn { background: #ef4444; color: white; }