@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.eq-body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    line-height: 1.6;
}


.eq-enquiry-main {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.eq-enquiry-container {
    display: flex;
    flex-grow: 1;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 40px auto;
    animation: eq-fadeInUp 0.6s ease-out;
}

@keyframes eq-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.eq-enquiry-left {
    width: 60%;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.eq-enquiry-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.eq-enquiry-left::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
}

@keyframes eq-float {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50% {
        transform: translate(-30%, -30%) rotate(180deg);
    }
}

.eq-office-content {
    position: relative;
    z-index: 2;
    animation: eq-fadeIn 1s ease-out 0.3s both;
}

@keyframes eq-fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.eq-enquiry-left h1 {
    font-size: 2.8rem;
    font-weight: 700;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    margin-bottom: 15px;
    animation: eq-slideInLeft 0.8s ease-out;
}

@keyframes eq-slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.eq-office-subtitle {
    font-size: 1.2rem;
    color: #000;
    font-weight: 400;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    animation: eq-slideInLeft 0.8s ease-out 0.2s both;
}

.eq-office-features {
    margin-top: 30px;
}

.eq-office-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eq-office-features-list li {
    font-size: 1rem;
    color: #000;
    /* Changed from rgba to opaque white */
    margin: 10px 0;
    animation: eq-slideInLeft 0.8s ease-out both;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eq-office-features-list li:hover {
    transform: translateX(10px);
}

.eq-icon-check {
    display: inline-block;
    width: 1em;
    height: 1em;
    color: #000;
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat 50% 50%;
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat 50% 50%;
    background-size: contain;
    color: transparent;
    background-color: black;
}



.eq-enquiry-right {
    width: 40%;
    padding: 60px 50px;
    background: rgb(212 218 220 / 13%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.eq-form-header {
    text-align: center;
    margin-bottom: 20px;
    animation: eq-fadeIn 0.8s ease-out 0.5s both;
}

.eq-form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    position: relative;
}

.eq-form-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: eq-expandWidth 0.8s ease-out 0.8s both;
}



@keyframes eq-expandWidth {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

.eq-form-subtitle {
    font-size: 1rem;
    color: #718096;
    font-weight: 400;
    margin-top: 20px;
}

.eq-consultation-form {
    width: 100%;
    max-width: 100%;
}

.eq-form-group {
    margin-bottom: 20px;
    position: relative;
    animation: eq-fadeInUp 0.6s ease-out both;
}

.eq-form-group:nth-child(1) {
    animation-delay: 0.6s;
}

.eq-form-group:nth-child(2) {
    animation-delay: 0.7s;
}

.eq-form-group:nth-child(3) {
    animation-delay: 0.8s;
}

.eq-form-group:nth-child(4) {
    animation-delay: 0.9s;
}

.eq-form-group label {
    top: 10px;
    left: 15px;
    padding: 0 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
    border-radius: 4px;
    margin-bottom: 8px;
}

.eq-form-group input,
.eq-form-group select {
    width: 100%;
    padding: 12px 12px;
    font-size: 1rem;
    font-weight: 400;
    color: #2d3748;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    backdrop-filter: blur(5px);
}

.eq-form-group input:hover,
.eq-form-group select:hover {
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.eq-form-group input::placeholder {
    color: #a0aec0;
    transition: opacity 0.3s ease;
}

.eq-form-group input:focus::placeholder {
    opacity: 0.5;
}

/* .eq-mobile-input {
    display: flex;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    align-items: stretch;
}

.eq-mobile-input select {
    width: 25%;
    min-width: 120px;
    max-width: 150px;
    background: rgba(255, 255, 255, 0.9);
    padding: 18px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.eq-mobile-input input {
    flex: 1;
} */

.eq-submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: eq-fadeInUp 0.6s ease-out 1s both;
}

.eq-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.eq-submit-btn:hover::before {
    left: 100%;
}

.eq-submit-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.eq-submit-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.eq-form-group.eq-form-phone-tab label {
    position: absolute;
    top: -10px;
    left: 0;
}

.eq-form-group.eq-form-phone-tab {
    display: flex;
    justify-content: flex-start;
    position: relative;
    padding-top: 17px;
    margin-top: 30px;
    z-index: 99;
}

.eq-form-group.eq-form-phone-tab .iti--allow-dropdown {
    width: 100%;
}

.eq-form-group.eq-form-phone-tab .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: unset;
    outline: unset;
}

.eq-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 40px;
}

.eq-info-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 114, 255, 0.1) !important;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eq-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.eq-info-icon {
    font-size: 40px;
}

.eq-info-content h2 {
    margin: 0;
    font-size: 24px;
}

.eq-blue {
    color: #1ebff1;
}

.eq-green {
    color: #44b764;
}

.eq-orange {
    color: #f9a825;
}

.eq-purple {
    color: #9b51e0;
}

.eq-red {
    color: #e53935;
}

.eq-info-content p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #333;
}

@keyframes zoom-in-australia {
    to {
        transform: scale(5);
    }
}

.eq-ag-canvas {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    position: relative;
    visibility: visible;

    width: 100%;
    height: 100%;
    padding: 3rem 1rem;
    opacity: 1;
    transition: opacity 0.5s, transform 1s ease;
    transform-origin: 82% 87%;
    animation: zoom-in-australia 1s ease-in-out 2s forwards;

}

.eq-ag-canvas_svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    margin-left: 1rem;
}

.eq-ag-canvas_svg path {
    fill: #e0e0e0;
    fill-opacity: 1;
    stroke: #ffffff;
    stroke-opacity: 1;
    stroke-width: 0.5;
    transition: 0.5s;
}

.eq-map-view-iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}


.eq-success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.eq-error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 10px;
}

#eq-form-response {
    margin-top: 24px;
    padding: 0;
    border-radius: 10px;
    min-height: 0;
    transition: opacity 0.3s ease;
}


/* Responsive Design with eq- prefix */
@media only screen and (max-width: 1024px) {
    .eq-body {
        padding: 15px;
    }

    .eq-enquiry-container {
        margin: 15px;
        max-width: 95%;
    }

    .eq-enquiry-left {
        padding: 50px 35px;
    }

    .eq-enquiry-right {
        padding: 50px 40px;
    }
}

@media only screen and (max-width: 768px) {
    .eq-body {
        padding: 10px;
        align-items: flex-start;
    }

    .eq-enquiry-container {
        flex-direction: column;
        margin: 40px 0;
        max-width: 100%;
    }

    .eq-enquiry-left {
        padding: 40px 30px;
        min-height: auto;
        order: 1;
        width: 100%;
        height: 100%;
        min-height: 300px;
    }

    .eq-enquiry-left h1 {
        font-size: 2.2rem;
    }

    .eq-office-subtitle {
        font-size: 1.1rem;
    }

    .eq-enquiry-right {
        padding: 40px 30px;
        order: 2;
        width: 100%;
    }

    .eq-form-header h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    /*     .eq-mobile-input {
        flex-direction: column;

    }

    .eq-mobile-input select {
        width: 100%;
        max-width: none;
        min-width: auto;
        background-color: rgba(255, 255, 255, 0.95);
    }

    .eq-mobile-input input {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
    } */

    .eq-form-group input,
    .eq-form-group select {
        padding: 16px 18px;
        border-radius: 12px;
    }

    .eq-submit-btn {
        padding: 16px 25px;
        font-size: 1.05rem;
    }

    .eq-ag-canvas {
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        height: auto;
        padding: 4rem 1rem 1rem;
    }

    .eq-ag-canvas_svg {
        max-height: calc(100% - 6rem);
        margin-left: 0;
    }
}

@media only screen and (max-width: 480px) {
    .eq-body {
        padding: 5px;
    }

    .eq-enquiry-container {
        margin: 5px 0px;
    }

    .eq-enquiry-left {
        padding: 30px 20px;
    }

    .eq-enquiry-left h1 {
        font-size: 1.8rem;
    }

    .eq-office-subtitle {
        font-size: 1rem;
    }

    .eq-office-features p {
        font-size: 0.9rem;
    }

    .eq-enquiry-right {
        padding: 30px 20px;
    }

    .eq-form-header h2 {
        font-size: 1.6rem;
    }

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

    .eq-form-group input,
    .eq-form-group select {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .eq-submit-btn {
        padding: 14px 20px;
        font-size: 1rem;
        margin-top: 25px;
    }
}

@media only screen and (max-width: 375px) {
    .eq-enquiry-left h1 {
        font-size: 1.6rem;
    }

    .eq-form-header h2 {
        font-size: 1.4rem;
    }

    .eq-form-group input,
    .eq-form-group select {
        padding: 12px 14px;
    }
}

.eq-form-group.eq-error input,
.eq-form-group.eq-error select {
    border-color: #e53e3e;
    /* Red border for error */
}

.eq-form-group.eq-error label {
    color: #e53e3e;
    /* Red label */
}

.eq-form-group .eq-error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
    /* Hidden by default, shown with JS */
}

.eq-form-group.eq-error .eq-error-message {
    display: block;
}

/* Additional responsive utilities */
@media only screen and (hover: none) and (pointer: coarse) {
    .eq-enquiry-container:hover {
        transform: none;
    }

    .eq-submit-btn:hover {
        transform: none;
    }
}

/* High DPI displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .eq-enquiry-container {
        border: 0.5px solid rgba(255, 255, 255, 0.3);
    }
}

/* Dark mode support */
@media only screen and (prefers-color-scheme: dark) {
    /* .eq-enquiry-right {
        background: rgba(26, 32, 44, 0.95);
    } */

    /* .eq-form-group input,
    .eq-form-group select {
        background: rgba(45, 55, 72, 0.9);
        color: #e2e8f0;
        border-color: rgba(102, 126, 234, 0.3);
    } */

    /* .eq-form-group label {
        background: rgba(26, 32, 44, 0.95);
        color: #cbd5e0;
    } */
}

/* Reduced motion support */
@media only screen and (prefers-reduced-motion: reduce) {

    .eq-enquiry-container,
    .eq-form-group,
    .eq-submit-btn,
    .eq-enquiry-left h1,
    .eq-office-subtitle {
        animation: none;
        transition: none;
    }
}

/* Additional section management fixes */
.eq-consultation-form {
    width: 100%;
    max-width: 100%;
}

.eq-form-group:last-child {
    margin-bottom: 0;
}

/* Focus visible for accessibility */
/* .eq-form-group input:focus-visible,
.eq-form-group select:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
} */

.eq-submit-btn:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}