/* assets\styles\contact-us.css */

/* ===== CONTACT PAGE SPECIFIC STYLES ===== */
.contact-page {
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    margin-top: 70px;
}

/* --- Hero / Header Section --- */
.contact-hero {
    text-align: center;
    margin-bottom: 4.5rem;
    padding: 0 1rem;
}

.contact-hero .badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.contact-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.contact-hero h1 i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.contact-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Main Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    align-items: start;
}

/* --- Left Column: Info Cards --- */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem 2rem 2.2rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow);
}

.info-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card .card-header .icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(var(--primary-rgb, 34, 197, 94), 0.25);
}

.info-card .card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.info-card .card-body {
    color: var(--text-muted);
    line-height: 1.7;
}

.info-card .card-body .detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.info-card .card-body .detail-item:last-child {
    border-bottom: none;
}

.info-card .card-body .detail-item i {
    width: 24px;
    min-width: 24px;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    text-align: center;
}

.info-card .card-body .detail-item a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
    word-break: break-word;
}

.info-card .card-body .detail-item a:hover {
    color: var(--primary);
}

.info-card .card-body .detail-item .label {
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 0.25rem;
}

/* --- Social Links --- */
.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.social-links-grid a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    background: var(--gray-100);
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.social-links-grid a i {
    font-size: 1.1rem;
}

.social-links-grid a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb, 34, 197, 94), 0.3);
}

/* --- Right Column: Form --- */
.contact-form-wrapper {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2.5rem 2.5rem 3rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form-wrapper .form-header {
    margin-bottom: 2.5rem;
}

.contact-form-wrapper .form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.contact-form-wrapper .form-header h2 i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.contact-form-wrapper .form-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Form Groups with proper spacing --- */
.form-group {
    margin-bottom: 1.75rem;
    width: 100%;
}

.form-group:last-of-type {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--error);
    margin-left: 3px;
}

.form-group .input-wrapper {
    position: relative;
    width: 100%;
}

.form-group .input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}

.form-group .input-wrapper textarea~i {
    top: 1.2rem;
    transform: none;
}

.form-control {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.9rem 1rem 0.9rem 2.8rem !important;
    font-size: 1rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg);
    color: var(--text);
    transition: all 0.25s ease;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    display: block;
    min-height: 52px;
}

.form-control.textarea-input {
    padding: 0.9rem 1rem 0.9rem 2.8rem !important;
    min-height: 140px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb, 34, 197, 94), 0.12);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

/* --- Form Row with proper gaps --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 0;
}

.form-row .form-group {
    margin-bottom: 0;
    width: 100%;
}

.form-row .form-group .form-control {
    width: 100% !important;
    max-width: 100% !important;
}

/* Individual form group spacing */
.form-group-spacing {
    margin-top: 0.25rem;
}

.btn-submit {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb, 34, 197, 94), 0.3);
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid transparent;
    letter-spacing: 0.3px;
    margin-top: 0.5rem;
}

.btn-submit i {
    font-size: 1.1rem;
}

.btn-submit:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb, 34, 197, 94), 0.4);
}

.btn-submit:active {
    transform: scale(0.97);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.form-footer-text {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-footer-text i {
    color: var(--primary);
}

/* Alert messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: none;
}

.alert-success {
    background: rgba(var(--success-rgb, 34, 197, 94), 0.15);
    color: var(--success);
    border: 1px solid var(--success);
    display: block;
}

.alert-error {
    background: rgba(var(--error-rgb, 239, 68, 68), 0.15);
    color: var(--error);
    border: 1px solid var(--error);
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-hero h1 {
        font-size: 2.6rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 1.75rem;
    }

    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .contact-page {
        padding: 2rem 1rem 4rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-hero .badge {
        font-size: 0.65rem;
        padding: 0.3rem 1rem;
    }

    .social-links-grid a {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .info-card .card-header .icon-box {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .info-card .card-header h3 {
        font-size: 1.1rem;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}