.consultation-page {
    padding: 60px 0;
    background: #f7f8f3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.consultation-page::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 197, 63, .15) 0%, rgba(139, 197, 63, 0) 70%);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: pageFloat1 8s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

.consultation-page::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 102, 178, .1) 0%, rgba(0, 102, 178, 0) 70%);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: pageFloat2 6s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

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

.consultation-section {
    padding: 60px 0;
    background: #f7f8f3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.consultation-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 197, 63, .15) 0%, rgba(139, 197, 63, 0) 70%);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: pageFloat1 8s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

.consultation-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 102, 178, .1) 0%, rgba(0, 102, 178, 0) 70%);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: pageFloat2 6s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

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

.courtyard-support-wrapper {
    padding: 60px 0;
    background: #f7f8f3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.courtyard-support-wrapper::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 197, 63, .15) 0%, rgba(139, 197, 63, 0) 70%);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: pageFloat1 8s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

.courtyard-support-wrapper::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 102, 178, .1) 0%, rgba(0, 102, 178, 0) 70%);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: pageFloat2 6s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

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

.courtyard-feedback-wrapper {
    padding: 60px 0;
    background: #f7f8f3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.courtyard-feedback-wrapper::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 197, 63, .15) 0%, rgba(139, 197, 63, 0) 70%);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: pageFloat1 8s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

.courtyard-feedback-wrapper::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 102, 178, .1) 0%, rgba(0, 102, 178, 0) 70%);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: pageFloat2 6s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

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

.consultation-hero {
    position: relative;
    isolation: isolate;
    overflow: visible;
    animation: consultationHeroImageDrift 14s ease-in-out infinite alternate;
    min-height: 400px;
}

.consultation-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 197, 63, .2) 0%, rgba(139, 197, 63, 0) 70%);
    border-radius: 50%;
    animation: animatedBgPulse 4s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

.consultation-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border: 2px solid rgba(139, 197, 63, .25);
    border-radius: 50%;
    animation: animatedBgRing 7s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.consultation-hero-content {
    position: relative;
    z-index: 1;
}

.animated-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.animated-bg-circle.c1 {
    width: 120px;
    height: 120px;
    background: rgba(139, 197, 63, .2);
    top: 50%;
    left: 15%;
    animation: floatCircle1 5s ease-in-out infinite alternate;
}

.animated-bg-circle.c2 {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 178, .15);
    top: 30%;
    left: 80%;
    animation: floatCircle2 6s ease-in-out infinite alternate;
}

.animated-bg-circle.c3 {
    width: 60px;
    height: 60px;
    background: rgba(139, 197, 63, .25);
    bottom: 15%;
    left: 45%;
    animation: floatCircle3 4s ease-in-out infinite alternate;
}

.animated-bg-circle.c4 {
    width: 100px;
    height: 100px;
    background: rgba(0, 102, 178, .12);
    top: 20%;
    left: 50%;
    animation: floatCircle4 7s ease-in-out infinite alternate;
}

.animated-bg-circle.c5 {
    width: 50px;
    height: 50px;
    background: rgba(139, 197, 63, .3);
    top: 65%;
    left: 10%;
    animation: floatCircle5 3s ease-in-out infinite alternate;
}

@keyframes animatedBgPulse {
    0% {
        width: 350px;
        height: 350px;
        opacity: .5;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        width: 600px;
        height: 600px;
        opacity: .9;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

@keyframes animatedBgRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        width: 300px;
        height: 300px;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        width: 300px;
        height: 300px;
    }
}

@keyframes floatCircle1 {
    0% {
        transform: translate(0, 0);
        opacity: .3;
    }
    100% {
        transform: translate(30px, -30px);
        opacity: .8;
    }
}

@keyframes floatCircle2 {
    0% {
        transform: translate(0, 0);
        opacity: .3;
    }
    100% {
        transform: translate(-30px, 20px);
        opacity: .7;
    }
}

@keyframes floatCircle3 {
    0% {
        transform: translate(0, 0);
        opacity: .3;
    }
    100% {
        transform: translate(20px, 30px);
        opacity: .8;
    }
}

@keyframes floatCircle4 {
    0% {
        transform: translate(0, 0);
        opacity: .3;
    }
    100% {
        transform: translate(-20px, -25px);
        opacity: .7;
    }
}

@keyframes floatCircle5 {
    0% {
        transform: translate(0, 0);
        opacity: .3;
    }
    100% {
        transform: translate(25px, 15px);
        opacity: .8;
    }
}

@keyframes pageFloat1 {
    0% {
        transform: translate(0, 0);
        opacity: .3;
    }
    100% {
        transform: translate(-30px, 30px);
        opacity: .6;
    }
}

@keyframes pageFloat2 {
    0% {
        transform: translate(0, 0);
        opacity: .2;
    }
    100% {
        transform: translate(20px, -20px);
        opacity: .5;
    }
}

@keyframes consultationHeroImageDrift {
    from {
        background-position: center 48%;
    }
    to {
        background-position: center 54%;
    }
}

@keyframes consultationHeroTagPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(124, 194, 66, .55);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(124, 194, 66, 0);
    }
}

@keyframes consultationHeroReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(prefers-reduced-motion:reduce) {
    .consultation-hero,
    .consultation-hero::before,
    .consultation-hero::after,
    .consultation-hero .hero-tag,
    .consultation-hero h1,
    .consultation-section,
    .consultation-section::before,
    .consultation-section::after,
    .courtyard-support-wrapper,
    .courtyard-support-wrapper::before,
    .courtyard-support-wrapper::after,
    .courtyard-feedback-wrapper,
    .courtyard-feedback-wrapper::before,
    .courtyard-feedback-wrapper::after,
    .animated-bg-circle {
        animation: none;
    }
}

.consultation-wrapper {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 70px;
    align-items: center;
}

.form-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #8bc34a;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
}

.consultation-left h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.consultation-left p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.step-indicator {
    display: flex;
    align-items: center;
    margin-top: 40px;
    justify-content: center;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #d8d8d8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    background: #fff;
}

.step.active {
    background: #8bc34a;
    border-color: #8bc34a;
    color: #fff;
}

.line {
    width: 60px;
    height: 2px;
    background: #d8d8d8;
}

.consultation-right {
    background: #fff;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

.step-number {
    color: #8bc34a;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.form-step h2 {
    font-size: 25px;
    margin-bottom: 5px;
    color: #0066B3;
}

.form-step p {
    color: #666;
    margin-bottom: 20px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.option-card {
    position: relative;
    border: 2px solid #e7e7e7;
    border-radius: 24px;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .35s;
    overflow: hidden;
}

.option-card input {
    display: none;
}

.option-card:has(input:checked) {
    border-color: #8BC53F;
    background: #F7FCEB;
}

.option-card:has(input:checked) .check-icon {
    opacity: 1;
    transform: scale(1);
}

.option-card:has(input:checked) .option-icon {
    background: #8BC53F;
}

.option-card:has(input:checked) .option-icon i {
    color: #fff;
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    transition: .35s;
}

.option-icon i {
    font-size: 22px;
    color: #0066B3;
}

.option-card h4 {
    font-size: 22px;
    font-weight: 500;
}

.check-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #8BC53F;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transform: scale(.5);
    transition: .35s;
}

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.option-card.active {
    border: 2px solid #8BC53F;
    background: #F7FCEB;
}

.option-card.active .check-icon {
    opacity: 1;
    transform: scale(1);
}

.option-card.active .option-icon {
    background: #8BC53F;
}

.option-card.active .option-icon i {
    color: #fff;
}

.form-footer {
    margin-top: 40px;
    text-align: right;
}

.next-btn {
    border: none;
    background: #8bc34a;
    color: #fff;
    padding: 16px 40px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
}

.prev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 58px;
    padding: 0 30px;
    border: none;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .35s;
    background: #edf2f7;
    color: #005BAA;
}

.consultation-category {
    margin-top: 50px;
}

.consultation-category:first-child {
    margin-top: 0;
}

.consultation-category-title {
    font-size: 24px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 25px;
}

.consultation-type-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.consultation-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 18px;
    cursor: pointer;
    transition: .35s ease;
    overflow: hidden;
}

.consultation-type-card:hover {
    transform: translateY(-8px);
    border-color: #8BC53F;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.consultation-type-card input {
    display: none;
}

.consultation-type-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: .35s;
}

.consultation-type-icon i {
    font-size: 18px;
    color: #8BC53F;
    transition: .35s;
}

.consultation-type-card h4 {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin: 0;
    text-align: center;
}

.consultation-check-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #8BC53F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transform: scale(.5);
    transition: .35s;
}

.consultation-type-card.active {
    border-color: #8BC53F;
    background: #f7fceb;
    box-shadow: 0 18px 45px rgba(139, 197, 63, .18);
}

.consultation-type-card.active .consultation-check-icon {
    opacity: 1;
    transform: scale(1);
}

.consultation-type-card.active .consultation-type-icon {
    background: #8BC53F;
}

.consultation-type-card.active .consultation-type-icon i {
    color: #fff;
}

@media(max-width:991px) {
    .consultation-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:575px) {
    .consultation-category-title {
        font-size: 20px;
    }

    .consultation-type-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .consultation-type-card {
        padding: 28px 18px;
    }

    .consultation-type-icon {
        width: 70px;
        height: 70px;
    }

    .consultation-type-icon i {
        font-size: 28px;
    }

    .consultation-type-card h4 {
        font-size: 18px;
    }
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.option-card input,
.consultation-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.residential-category,
.commercial-category {
    display: none;
}

consultation-form-group label span {
    color: #e53935;
}

.consultation-form-group input {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    font-size: 15px;
    transition: .35s;
    background: #fff;
}

.consultation-form-group input:focus {
    outline: none;
    border-color: #76c043;
    box-shadow: 0 0 0 4px rgba(118, 192, 67, .12);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    background: #76c043;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .35s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: #5ca62f;
    box-shadow: 0 15px 35px rgba(118, 192, 67, .25);
}

@media(max-width:768px) {

    .consultation-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-footer {
        flex-direction: column;
    }

    .form-footer button {
        width: 100%;
        justify-content: center;
    }

}
