/* ========================================
   Contact Us Page - Premium Styles
   ======================================== */

:root {
    --wm-contact-bg: #FDFBF9;
    --wm-floral-pattern: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 350C100 300 150 320 200 280C250 240 300 260 350 210' stroke='%23F2D36B' stroke-opacity='0.15' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cpath d='M10 100C40 130 80 110 120 140C160 170 200 150 240 180' stroke='%236DA8A3' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E");
}

.page-template-page-contact {
    background-color: var(--wm-contact-bg);
}

.contact-section {
    position: relative;
    padding: 50px 0 100px;
    overflow: hidden;
    min-height: 1050px;
    display: flex;
    align-items: center;
}

/* Background Decorations */
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--wm-floral-pattern);
    background-repeat: repeat;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* Typography */

.section-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    color: var(--wm-heading);
    margin-bottom: 30px;
    line-height: 1.1;
}

.section-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--wm-body);
    margin-bottom: 40px;
    max-width: 580px;
    opacity: 0.9;
}

/* Buttons - Matching Home */
.btn-wm-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--wm-primary);
    color: #fff !important;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(109, 168, 163, 0.2);
}

.btn-wm-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(109, 168, 163, 0.3);
    background: #5A9691;
}

.btn-wm-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--wm-heading) !important;
    padding: 15px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-wm-outline:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Image Blobs */
.image-wrap {
    position: relative;
    padding: 20px;
}

.image-blob {
    width: 80%;
    height: auto;
    /* border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

.image-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--wm-accent);
    border-radius: 50%;
    opacity: 0.4;
    z-index: -1;
    filter: blur(20px);
}

/* Sections Specific */
.contact-hero {
    min-height: 800px;
    background-color: #FDFBF9;
    padding-top: 50px;
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.contact-hero__content {
    position: relative;
    z-index: 2;
}

.tagline-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tagline-icon {
    color: var(--wm-primary);
    opacity: 0.7;
}



.hero-title-group {
    margin-bottom: 35px;
}

.hero-accent-line {
    width: 60px;
    height: 4px;
    background-color: #F8E5E5;
    margin-bottom: 30px;
    border-radius: 2px;
}

.contact-hero .section-title {
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-hero__image-wrapper {
    position: relative;
    padding-right: 0;
}

.hero-image-mask {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    border-radius: 45% 55% 40% 60% / 50% 45% 55% 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.hero-image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decorative Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background-color: #FDF1F0;
    top: -50px;
    left: -150px;
    opacity: 0.6;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background-color: #F0F9F8;
    bottom: -100px;
    right: -150px;
    opacity: 0.7;
}

.hero-dots {
    position: absolute;
    width: 100px;
    height: 60px;
    bottom: 50px;
    left: 40%;
    background-image: radial-gradient(#E8B4B4 20%, transparent 20%);
    background-size: 12px 12px;
    z-index: 1;
    opacity: 0.4;
}

.leaf-decor-floating {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 10%;
    right: -5%;
    z-index: 3;
    opacity: 0.8;
}

body .contact-next-step {
    background: var(--hero-background-color) !important;
}

.contact-next-step .tagline-dot {
    background: #ffffff !important;
}

.contact-next-step .tagline-text {
    color: #ffffff !important;
}

.contact-next-step .section-title {

    color: #ffffff;

}

.contact-next-step .section-description {

    color: #ffffff;

}

.contact-next-step .btn-wm-primary {
    background: white !important;
    color: #347d75 !important;
    border: 1px solid transparent !important
}

.contact-next-step .btn-wm-primary:hover {
    background-color: transparent !important;
    color: white !important;
    border: 1px solid white !important
}

.contact-next-step .btn-wm-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.contact-next-step__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-detail-box {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--wm-heading);
}

.contact-detail-icon {
    width: 45px;
    height: 45px;
    background: var(--wm-highlight);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Connect Cards */
.connect-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.connect-card {
    background: #FBF9F7;
    border: 3px solid #fff;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.connect-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.connect-icon {
    width: 70px;
    height: 70px;
    background: var(--wm-highlight);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.connect-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.connect-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Expectations */
.expectations-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--wm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
}

.step-content {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 20px;
    width: 100%;
}

.step-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.step-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.expectations-note {
    background: #E8F4F1;
    padding: 30px;
    border-radius: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 40px;
}

.expectations-note p {
    margin-bottom: 0;
    color: var(--wm-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Crisis Support */
.crisis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.crisis-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.crisis-list {
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.crisis-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    color: var(--wm-heading);
}

.crisis-item-icon {
    width: 45px;
    height: 45px;
    background: var(--wm-highlight);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crisis-footer {
    background: #FDF1F1;
    padding: 35px 50px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.crisis-footer p {
    margin-bottom: 0;
    color: #D88A8A;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1199px) {
    .section-title {
        font-size: 3rem;
    }

    .connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {

    .contact-hero__grid,
    .contact-next-step__grid,
    .expectations-grid,
    .crisis-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

@media (max-width: 575px) {
    .connect-grid {
        grid-template-columns: 1fr;
    }

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

    .step-content {
        flex-direction: column;
    }
}

.crisis-cards-wrapper {
    max-width: 550px
}