/* ===============================================================
   TOTAL RELIANCE - CONTACT PAGE STYLESHEET (contact.css)
   Designed to complement global style.css and index.css
=============================================================== */

/* 1. WRAPPER & HEADER */
.contact-page-wrapper {
    background: linear-gradient(135deg, #0a192f 0%, #112240 70%, #1e3a8a 100%);
    padding: 10rem 8% 8rem;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.contact-header-text {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    color: #cbd5e1;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* 2. GRID & CARDS */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(246, 139, 30, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(246, 139, 30, 0.3);
}

.card-heading {
    color: #0a192f;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    border-left: 4px solid #f68b1e;
    padding-left: 1rem;
}

/* 3. FORM STYLES */
.contact-form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #0a192f;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #0f172a;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    border-color: #f68b1e;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(246, 139, 30, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #f68b1e 0%, #d97706 100%);
    color: #ffffff;
    padding: 1.1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(246, 139, 30, 0.3);
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(246, 139, 30, 0.45);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* 4. INFO SECTION & MAP */
.info-card {
    background: #f8fafc;
}

.info-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    background: rgba(246, 139, 30, 0.15);
    color: #f68b1e;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(246, 139, 30, 0.3);
}

.info-text h3 {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.info-text p {
    color: #0a192f;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.5;
}

.map-container {
    margin-top: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    height: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 5. RESPONSIVE QUERIES */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 2rem;
        padding: 0 2%;
    }
    .contact-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        padding: 8rem 5% 5rem;
    }
    .page-title {
        font-size: 2.8rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 250px;
        margin-top: 2.5rem;
    }
}
@media(max-width:480px){.contact-hero{padding:7.5rem 1rem 4rem}.contact-hero h1{font-size:2.45rem;overflow-wrap:anywhere}.contact-content{padding-inline:1rem}.contact-form-container,.contact-info{padding:1.25rem}.form-row{grid-template-columns:1fr}input,select,textarea,button{max-width:100%}}
