@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Special+Gothic+Expanded+One&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

main {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 100px);
    background-color: #ffffff;
}

main section.getConnected {
    width: 100%;
    max-height: 800px;
    min-height: 400px;
    background: #0E3E62;
    background: radial-gradient(circle, rgba(14, 62, 98, 1) 0%, rgba(10, 178, 195, 1) 0%, rgba(14, 62, 98, 1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: visible;
}

main section.getConnected>h1,
main section.getConnected>h2 {
    color: #ffffff;
    position: relative;
    z-index: 3;
    text-align: center;
}

main section.getConnected>h1 {
    font-size: 3.5rem;
    margin: 15vh 0 0 0;
    font-family: "Special Gothic Expanded One", sans-serif;
    line-height: 1.2;
}

main section.getConnected>h2 {
    font-size: 1.5rem;
    margin: 1rem 0 0 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    animation: pulseFontSize 3s ease-in-out infinite;
}

@keyframes pulseFontSize {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    main section.getConnected>h2 {
        animation: none;
    }
}

.hidden {
    display: none !important;
}

.search-bar-container {
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    margin: 2rem 0 0 0;
    padding: 0;
    position: relative;
    z-index: 3;
}

.search-bar-container.results-shown {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.search-bar {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    height: 50px;
}

.search-bar-container input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    text-indent: 10px;
    color: #333;
    height: 100%;
}

.search-bar-container input::placeholder {
    color: #999;
    font-size: 14px;
}

.location-link {
    display: flex;
    align-items: center;
    color: #bc2950;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 10px;
    height: 100%;
    line-height: normal;
}

.location-link:hover {
    text-decoration: underline;
}

.location-link::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23bc2950" viewBox="0 0 16 16"><path d="M8 0a5.5 5.5 0 0 1 5.5 5.5c0 4.5-5.5 10.5-5.5 10.5S2.5 10 2.5 5.5A5.5 5.5 0 0 1 8 0zm0 3a2.5 2.5 0 0 0 0 5 2.5 2.5 0 0 0 0-5z"/></svg>');
    margin-right: 5px;
}

.results-container {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border: 2px solid transparent;
    border-top: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    opacity: 0;
    overflow-y: auto;
    background-color: #fff;
    transition: opacity 0.2s ease, max-height 0.2s ease;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3;
}

.search-bar-container.results-shown .results-container {
    max-height: 200px;
    opacity: 1;
}

.result-item {
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover {
    background-color: #f5f5f5;
}

.back-to-search {
    position: fixed;
    top: 60px;
    left: 20px;
    padding: 10px 20px;
    background-color: #319ee2;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 4;
    font-size: 14px;
}

.back-to-search:hover {
    background-color: #2b8cd2;
}

#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
}

#tsparticles canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.3 !important;
}

#tsparticles.hidden {
    display: none !important;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: none;
    transition: opacity 0.3s ease;
}

#map.map-active {
    display: block;
    opacity: 1;
}

.error-message {
    color: #bc2950;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
    min-height: 20px;
}

.contactShortcuts {
    width: 100%;
    min-height: 40px;
    max-height: 60px;
    background-color: #36404a;
}

.contactShortcuts>div {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 1200px) 1fr;
}

.contactShortcuts>div>.quickLinks {
    display: flex;
    align-items: center;
}

.contactShortcuts>div>.quickLinks>div>a {
    width: 100%;
    line-height: 40px;
    color: #ffffff;
    font-size: 11px;
    text-decoration: none;
    margin-right: 15px;
}

.contactShortcuts .quickLinks a[href^="tel:"]::before {
    content: "\260E";
    color: #ffffff;
    margin-left: 10px;
    margin-right: 5px;
    font-size: 12px;
    vertical-align: middle;
}

.contactShortcuts .quickLinks a[href*="wa.me"]::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23ffffff" viewBox="0 0 24 24"><path d="M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.48 3.45 1.39 4.93L2 22l5.32-1.49c1.39.91 2.96 1.44 4.71 1.44 5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2zm3.23 15.06c-.39 1.1-1.15 1.98-2.2 2.31-.88.27-2.03.16-3.47-.31-1.76-.57-3.24-1.76-4.14-3.47-.86-1.63-.93-3.55.2-5.15.39-.55.95-1 1.66-1.37.11-.06.23-.09.34-.09h.24c.26 0 .51.13.66.36.17.26.37.75.56 1.15.15.32.3.65.07.88-.2.2-.46.39-.73.56-.26.17-.54.34-.75.56-.24.26-.44.56-.31.93.37 1.03 1.07 1.88 1.98 2.54.86.63 1.83 1.03 2.88.95.39-.03.73-.17 1.03-.41.39-.32.66-.83.83-1.34.05-.15.07-.31.05-.47-.03-.15-.13-.29-.26-.39l-.66-.51z"/></svg>');
    margin-right: 5px;
    vertical-align: middle;
}

.contactShortcuts .quickLinks a[href*="t.me"]::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23ffffff" viewBox="0 0 24 24"><path d="M22.27 2.48c-.25-.17-.56-.25-.88-.21l-17.5 6.5c-.56.21-.93.73-.93 1.32 0 .39.16.76.44 1.03l3.5 3.5 1.41 7.07c.12.61.65 1.06 1.28 1.09.03 0 .06 0 .09 0 .6 0 1.15-.39 1.34-.97l1.76-5.88 5.44 5.44c.24.24.57.39.91.39.29 0 .58-.09.82-.27l4.5-3.5c.45-.35.65-.95.51-1.52l-2.79-14.89zM8.79 16.21l-2.5-2.5 10.72-4-8.22 6.5z"/></svg>');
    margin-right: 5px;
    vertical-align: middle;
}

.contactShortcuts>div>div {
    float: left;
}

.contactShortcuts>div>div>a {
    color: #ffffff;
    font-size: 11px;
    text-decoration: none;
}

.clientZoneContainer>a {
    float: right;
    height: inherit;
    line-height: normal;
    margin: 7px 3% 0px 0px;
    padding: 6px 10px;
    color: #FFFFFF;
    background-color: #424f5b;
    border-radius: 6px;
    transition: margin 0.2s ease, padding 0.2s ease, background-color 0.2s ease;
}

.clientZoneContainer>a:hover {
    padding: 6px 15px;
    background-color: #319ee2;
    cursor: pointer;
}

@media (max-width: 600px) {
    main section.getConnected>h1 {
        font-size: 2rem;
        margin: 10vh 0 0 0;
    }

    main section.getConnected>h2 {
        font-size: 1rem;
    }

    .search-bar-container {
        width: 90%;
        margin: 1.5rem 0 0 0;
        border-radius: 25px;
    }

    .search-bar-container.results-shown {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .results-container {
        width: 90%;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .search-bar {
        padding: 8px 12px;
    }

    #address-input {
        width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .location-link {
        margin-left: 8px;
    }

    .contactShortcuts>div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }

    .clientZoneContainer>a {
        height: 40px;
        line-height: 40px;
        margin: 0;
        padding: 0 10px;
        background-color: #2b333b;
        border-radius: 0;
    }
}