/* itakna/assets/css/contact.css */


/* --- Page Header --- */

.contact-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/images/background.png') no-repeat center center/cover; */
}

.page-header .page-header-overlay {
    z-index: 1;
    position: relative;
    color: #fff;
    text-align: center;
}

.page-header p {
    max-width: 600px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
}


/* --- Contact Section --- */

.contact-section {
    padding: 100px 5%;
    background-color: #f8f9fa;
    /* Lighter background for the section */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}


/* --- Left Column: Contact Info --- */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-heading {
    font-size: 2rem;
    color: var(--light-text);
    margin-bottom: -10px;
}

.contact-subheading {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.info-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.info-card .icon-container {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: rgba(106, 17, 203, 0.1);
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--light-text);
}

.info-text p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

.contact-socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.contact-socials a {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #555;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-socials a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}


/* --- Right Column: Contact Form --- */

.contact-form-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: block;
    /* ensure form is block */
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-message {
    margin-top: 15px;
    font-weight: 500;
    display: none;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

.form-message.success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.form-message.error {
    background-color: #f8d7da;
    color: #842029;
}


/* --- Map Section --- */

.map-section {
    padding: 0;
    line-height: 0;
}


/* --- Responsive Adjustments --- */

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form-container {
        padding: 30px;
    }
}