#search-section-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    box-sizing: border-box;
}
.grid_footer1 .widget-title-1{
    border:none;
}
.follow-us-outerblock{
   display: block !important; 
}

#search-section-page h2 {
    font-size: 26px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
    width: 100%;
}

#search-section-page .search-filter {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

#search-section-page .form-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.contact-form-line- {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#search-section-page .contact-form-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    border-bottom: 2px solid #f1592a;
    padding-bottom: 8px;
    margin-bottom: 10px;
    align-self: flex-start;
}

#search-section-page .contact-form-control {
    margin-top: 10px;
    max-width: 100%; /* Ensures it stays within parent container */
    width: 400px;
    border-radius: 30px;
    font-weight: 500;
    padding: 12px 30px; /* Slightly increased padding for comfort */
    font-size: 18px;
    border: 2px solid rgba(41, 35, 42, 0.20);
    outline: none;
    color: #666;
    box-sizing: border-box;
    transition: border 0.3s ease; /* Enhanced transition effect */
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-position: center right 18px;
    background-image: url("https://brillare.net.au/wp-content/uploads/2024/10/search-icon.png");
}

#search-section-page .contact-form-control:focus {
    border: 2px solid #aaa; /* Unified border effect */
}

#search-section-page .contact-form-control::placeholder {
    color: #aaa;
}

/* Large screens (desktops) */
@media (min-width: 992px) {
    #search-section-page {
        padding: 80px 20px; /* Added horizontal padding for better spacing */
    }

    #search-section-page h2 {
        color: #F1592A;
        text-align: center;
        margin: 0 auto;
        font-size: 64px;
        font-weight: 800;
        max-width: 80%; /* Prevents text overflow */
        padding: 0 40px; /* Reduced padding for better readability */
        box-sizing: border-box;
    }

    #search-section-page .contact-form-label {
        padding-bottom: 10px;
    }

    #search-section-page .contact-form-control {
        font-size: 20px;
        width: 60%; /* More adaptive width for larger screens */
    }
}

/* Tablets and medium-sized screens */
@media (max-width: 991px) {
    #search-section-page h2 {
        font-size: 40px; /* Scales down header */
        padding: 0 20px;
    }

    #search-section-page .contact-form-control {
        width: 80%; /* Ensures form control stays centered */
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    #search-section-page h2 {
        font-size: 28px;
        padding: 0;
    }

    #search-section-page .contact-form-label {
        font-size: 14px;
    }

    #search-section-page .contact-form-control {
        font-size: 16px;
        width: 90%; /* Adapts to small screen widths */
        padding: 10px 20px; /* Reduces padding for smaller screens */
    }
}

/* Extra-small screens (very narrow phones) */
@media (max-width: 576px) {
    #search-section-page h2 {
        font-size: 22px; /* Slight adjustment for readability */
    }

    #search-section-page .contact-form-control {
        font-size: 14px;
        width: 95%; /* Utilizes most screen space */
        padding: 8px 15px;
    }
}


#alphabetical-order {
    padding: 80px 0;
    background-color: #f4f0ee;
}

#alphabetical-order .container {
    display: flex;
    flex-direction: column;
}

#alphabetical-order .filter-title {
    font-size: 18px;
    color: #7b7777;
    font-weight: 500;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

#alphabetical-order .filter-title svg {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

#alphabetical-order .filter-title:hover svg {
    transform: translateX(5px);
}

#alphabetical-order .all_suburb {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-top: 20px;
}

#alphabetical-order .all_suburb {
    display: flex;
    flex-wrap: wrap;
   
    gap: 20px;
}

#alphabetical-order .suburbs {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    margin: 0;
}

@media (max-width: 1200px) {
    #alphabetical-order .suburbs {
        flex: 1 1 30%;
        max-width: 30%;
    }
}

@media (max-width: 992px) {
    #alphabetical-order .suburbs {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    #alphabetical-order{
        padding: 30px 0;
    }
    #alphabetical-order .suburbs {
        flex: 1 1 47%;
    }
}

#alphabetical-order .order-box {
    display: block;
    background: #fff;
    padding: 20px 20px 20px 20px;
    position: relative;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: #1C1918;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    box-sizing: border-box;
}

#alphabetical-order .order-box:hover,
#alphabetical-order .order-box.active {
    background-color: #f1592a;
    color: #fff;
}



#alphabetical-order .order-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-right: 35px solid transparent;
    z-index: 1;
}

.alphabet-buttons {
    display: flex;
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
}

.alphabet-filter {
    background-color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    min-width: 40px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.alphabet-filter:hover {
    background-color: #f4f0ee;
    color: #1C1918;
    border-color: #f4f0ee;
}

.alphabet-filter.active {
    background-color: #f4f0ee;
    color: #1C1918;
    font-weight: 600;
    border-color: #f4f0ee;
}

@media (max-width: 768px) {
    .alphabet-buttons {
        gap: 8px;
    }
}

@media (min-width: 992px) {
    #alphabet-buttons-section {
        display: block;
    }

    .alphabet-select {
        display: none;
    }
}

@media (max-width: 991px) {
    #alphabet-buttons-section {
        display: none;
    }

    .alphabet-select {
        display: block;
    }
}

.alphabet-select {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    position: relative;
    font-family: 'Arial', sans-serif;
}

#alphabet-select {
    width: 100%;
    padding: 12px 20px;
    border-radius: 5px;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    transition: border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    padding-right: 50px;
}

.alphabet-select::after {
    content: "▼";
    font-size: 18px;
    color: #666;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

#alphabet-select:focus {
    border-color: #f1592a;
}