/* ===========================================
   CONTACT PAGE ISOLATION WRAPPER
=========================================== */
.contact-page-wrapper {
    background: #fff;
    width: 100%;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-page-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   HERO SECTION
=========================================== */
/* ===========================================
   HERO SECTION
=========================================== */
.contact-page-wrapper .contact-hero {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* Vertically Centers text */
}

/* FIX: Forces the container to fill width so it aligns with content below */
.contact-page-wrapper .contact-hero .container {
    width: 100%; 
}

.contact-page-wrapper .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-page-wrapper .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 400px;
    text-align: left; /* Ensures text stays left */
    margin-left: 0;   /* Removes any auto margins */
}

.contact-page-wrapper .hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-page-wrapper .hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ===========================================
   MAIN CONTENT SECTION
=========================================== */
.contact-page-wrapper .contact-main-section {
    padding: 80px 0;
    background: #fff;
}

.contact-page-wrapper .contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Form is slightly narrower than text */
    gap: 80px;
    align-items: flex-start;
}

/* --- Left Column: Form Card --- */
.contact-page-wrapper .form-card {
    background: #EAE8EC; /* Light Mauve/Grey Background */
    padding: 40px;
    border-radius: 12px; /* Soft rounded corners */
}

.contact-page-wrapper .form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.contact-page-wrapper .form-sub {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

/* Form Fields */
.contact-page-wrapper .form-group {
    margin-bottom: 15px;
}

.contact-page-wrapper input,
.contact-page-wrapper select,
.contact-page-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fff; /* White inputs */
    font-size: 0.95rem;
    color: #333;
    font-family: inherit;
    outline: none;
    transition: border 0.3s ease;
}

.contact-page-wrapper input::placeholder,
.contact-page-wrapper textarea::placeholder {
    color: #aaa;
}

.contact-page-wrapper input:focus,
.contact-page-wrapper select:focus,
.contact-page-wrapper textarea:focus {
    border-color: #9C8BA5; /* Mauve border on focus */
}

/* Custom Select Styling */
.contact-page-wrapper select {
    appearance: none; /* Removes default browser arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    color: #666;
}

/* Submit Button */
.contact-page-wrapper .btn-submit {
    width: 100%;
    background: #9C8BA5; /* Mauve Color */
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px; /* Pill shape button */
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.contact-page-wrapper .btn-submit:hover {
    background: #84728d; /* Darker mauve on hover */
}

/* --- Right Column: Text Content --- */
.contact-page-wrapper .contact-text-content {
    padding-top: 20px;
}

.contact-page-wrapper .contact-text-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.contact-page-wrapper .contact-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.contact-page-wrapper .contact-details {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.contact-page-wrapper .contact-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.contact-page-wrapper .sub-detail {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 20px;
}

.contact-page-wrapper .contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-page-wrapper .detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-page-wrapper .detail-item:hover {
    color: #000;
}

.contact-page-wrapper .icon {
    font-size: 1.2rem;
}

/* ===========================================
   RESPONSIVE STYLES
=========================================== */
@media (max-width: 900px) {
    .contact-page-wrapper .contact-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 50px;
    }

    .contact-page-wrapper .contact-hero {
        height: 350px;
    }

    .contact-page-wrapper .hero-content h1 {
        font-size: 2.2rem;
    }
}