/* =========================================
   CONTACT PAGE CUSTOM STYLES
   ========================================= */

:root {
    --primary: #059EFF;
    --secondary: #DEF3FF;
    --text-dark: #1a1a1a;
    --text-body: #444444;
    --bg-page: #F8F9FA;
    --border-color: #E5E9F0;
}

.contact-page {
    background-color: var(--bg-page);
    color: var(--text-dark);
}

.section-padding {
    padding: 80px 0;
}

.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- 1. Header Banner (Matches Blog Detail Style) --- */
.contact-header-banner {
    background-image: url('/img/hero section contact us.webp');
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 170px 0;
    justify-content: center;

}

.contact-header-flex {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
}

.contact-page-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: 'Open Sans';
    font-weight: 500;
    font-size: 48px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.contact-breadcrumb {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-breadcrumb a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-breadcrumb a:hover {
    color: var(--primary);
}

.contact-breadcrumb span {
    color: #000000;
}

/* --- 2. Main Layout --- */
.contact-grid {
    /* display: grid; */
    grid-template-columns: 1fr 1.2fr;
    /* Info smaller, Form wider */
    gap: 60px;
    align-items: start;
}

/* Left Column: Info */
.sp-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.sd-heading {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.sd-heading span {
    color: var(--primary);
}

.contact-desc {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #E4F6FF;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* .contact-icon:hover {
    background-color: #29C3D4;
} */
.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-text span,
.contact-text a {
    color: #0d6efd;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--primary);
}

/* Social Icons */
.contact-socials {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-socials h3 {
    font-size: 18px;
    margin: 0 0 20px;
}

.social-icons-row {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0d6efd;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #0d6efd;
    color: #fff;
    border-color: #58B2E0;
    transform: translateY(-3px);
}

.social-btn svg {
    width: 18px;
    height: 18px;
}


/* --- Right Column: Modernized Form Layout --- */
.contact-form-card {
    background: #ffffff;
    padding: 100px;
    border-radius: 12px;
    /* Slightly more rounded */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    border: 1px solid #f0f0f0;
}

.contact-form-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 25px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

/* Subtle accent line under "Send Us A Message" */
.contact-form-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #0d6efd;
    border-radius: 2px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

/* New Input Style: Boxed with Background */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    /* Boxed look */
    background: #F9FBFC;
    /* Very light blue-grey tint */
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: none;
    /* Keeps layout clean */
}

/* Focus state for better accessibility */
.contact-form input:focus,
.contact-form textarea:focus {
    background: #fff;
    border-color: #58B2E0;
    box-shadow: 0 0 0 4px rgba(88, 178, 224, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

/* Updated Button Layout */
.form-actions {
    margin-top: 10px;
}

.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0d6efd;
    color: #fff;
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 164, 205, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* --- 3. Map Section --- */
.contact-map-section {
    padding-bottom: 80px;
}

.map-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-card {
        padding: 30px;
    }

    .contact-header-flex {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .contact-page-title {
        font-size: 26px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-padding {
        padding: 50px 0;
    }
}