/* Contact Page Redesign - Based on Range Developments Reference */

.px-5vw {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
}
.map-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.map-btn{
    padding:12px 24px;
    cursor:pointer;
    border:1px solid #ddd;
    background:#fff;
    transition:.3s;
}

.map-btn.active{
    background:#000;
    color:#fff;
}

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

/* Hero Section V2 */
.contact-hero-v2 {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    /* Align title to the right */
    margin-bottom: 80px;
}

.hero-title {
    font-size: 10rem;
    /* Massive size from reference */
    font-family: 'The Seasons', serif;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -2px;
}

/* Main Section V2 */
.contact-main-v2 {
    background-color: #f4f9fb;
    /* Light blueish tint from reference */
    padding-bottom: 100px;
    position: relative;
    z-index: 3;
}

.floating-contact-card {
    background: #eaf3f6;
    /* Matching the bar color */
    margin-top: -150px;
    /* Overlap hero */
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Left Column Styling */
.contact-content-left {
    background: #f4f9fb;
}

.section-headline {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 300;
    color: #1a1a1a;
}

.description-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    max-width: 90%;
}

.refined-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0c182d;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.refined-item {
    display: flex;
    align-items: flex-start;
    color: #333;
}

.refined-item i {
    color: #2b7a91;
    font-size: 0.95rem;
    width: 23px;
    text-align: center;
    margin-top: 4px;
}

.refined-item a,
.refined-item span {
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 500;
}

.refined-item a:hover {
    color: #2b7a91;
}

.contact-maps-wrapper-v2 {
    background-color: #f4f9fb;
    padding-bottom: 80px !important;
}

.refined-maps {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding-top: 60px;
}

.map-box-refined {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    height: 450px;
}

.map-box-refined iframe {
    opacity: 0.95;
    transition: all 0.4s ease;
}

.map-box-refined:hover iframe {
    opacity: 1;
}

/* Right Form Styling */
.contact-form-right {
    background: #eaf3f6;
}

.form-group-v2 {
    margin-bottom: 5px;
}

.form-group-v2 label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.form-control-v2,
.form-select-v2 {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: #fff;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}

.form-control-v2::placeholder {
    color: #bbb;
}

.form-control-v2:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.custom-check-v2 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.custom-check-v2 .form-check-input {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    /* Circular checkbox from reference */
    margin-top: 4px;
}

.custom-check-v2 .form-check-label {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.form-feedback {
    display: none;
    margin-bottom: 1.5rem;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-feedback.is-success,
.form-feedback.is-error {
    display: block;
}

.form-feedback.is-success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.form-feedback.is-error {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.btn-submit-v2 {
    background: #0c182d;
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-submit-v2:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.contact-main-v2 .px-5vw {
    transform: translateY(-100px);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 8rem;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 6rem;
        justify-content: center;
        text-align: center;
    }

    .hero-content-wrapper {
        justify-content: center;
    }

    .section-headline {
        font-size: 2.5rem;
    }

    .floating-contact-card {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }

    .contact-hero-v2 {
        height: 60vh;
    }
    .map-wrapper iframe {
    height: 310px;
}

.map-buttons {
    flex-wrap: wrap;
}

.map-buttons button {
    width: 48%;
    flex-direction: row;
    font-size: 16px;
    padding: 6px 8px;
}

}
/* Form Validation */
.error-msg {
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
    display: none;
}

.is-invalid {
    border: 1px solid #dc3545 !important;
}
