/* Footer Styles */
footer {
    background-color: var(--dark-color);
    padding: 90px 0px 40px 0px;
    color: var(--secondary-color);
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    footer {
        padding: 70px 0px 40px 0px;
    }
}

.footer-container {
    width: 1200px;
    max-width: 90%;
    margin: 0px auto 0px auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 20px;
}

@media (max-width: 850px) {
    .footer-content {
        grid-template-columns: 1fr 1fr; /* Stack into two columns */
        gap: 30px;
    }

    /* Make the last item twice as wide */
    .footer-content > div:nth-child(5) {
        grid-column: span 2; /* Last column spans both columns */
    }
}


.footer-box {
    display: flex;
    flex-direction: column;
}

.footer-phone {
    font-size: 18px;
    text-decoration: none;
    color: var(--secondary-color);
}

.footer-links, .footer-cities, .footer-counties {
    list-style-type: none;
    padding: 0;
}

.footer-links li, .footer-cities li, .footer-counties li {
    margin-bottom: 16px;
}

.footer-links a, .footer-cities a, .footer-counties a {
    text-decoration: none;
    color: var(--secondary-color);
}

.footer-links a:hover, .footer-cities a:hover, .footer-counties a:hover {
    color: var(--primary-color); /* Hover color for links */
}

.footer-links a.active {
    text-decoration: none;
    padding-bottom: 4px; /* Adjust this value to move the line down */
    border-bottom: 2px solid var(--secondary-color); /* Underline color and thickness */
}

.footer-box h3 {
    margin-bottom: 16px;
    font-size: 20px;
}
.footer-motto h3 {
    font-size: 24px;
    line-height: 110%;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo svg path {
    fill: var(--secondary-color);
}

/* Footer Credit Section */
.footer-credit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    color: #ffffff;
    top: 50px;
    z-index: 4;
}

/* Shark Logo in Footer */
.footer-credit p {
    position: relative;
    top: -4px;
    right: -11px;
    font-size: 18px;
}

.footer-credit svg path {
    fill: #ffffff; /* Change to your desired color */
    transition: fill 0.3s ease;
}


.footer-credit svg:hover path {
    fill: #6837C9; /* Change to your desired color */
}

.second-cities h3 {
    color: var(--dark-color);
}

/* Smaller Waves and Fin */
/* Waves section */
.waves {
    position: relative;
    overflow: hidden;
    height: 22px; /* Exact height of your wave SVG */
    width: 100%;
    background-image: url('/assets/image/wave-small.svg'); /* Path to your wave */
    background-repeat: repeat-x; /* Tile horizontally forever */
    background-size: 50px 22px; /* Exact size of one wave */
    animation: wave-scroll 10s linear infinite; /* Infinite scroll */
    z-index: 3;
    top: 50px;
}

/* Animation to move the waves */
@keyframes wave-scroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -100px 0; /* Move by exactly one wave width */
    }
}

/* Shark Fin */
.shark-fin {
    position: relative;
    top: 72px;
    z-index: 1; /* Behind the wave */
    width: 100%; /* Full width of the footer */
    overflow: hidden; /* Hide anything outside the container */
}

/* Shark Fin Image */
.shark-fin img {
    width: auto;
    height: 100%; /* Ensures it matches the height */
    left: 0; /* Start from the left */
    animation: fin-drift 20s linear infinite; /* Animation to move left to right */
}


/* Continuous scrolling animation for shark fin */
@keyframes fin-drift {
    0% {
        transform: translateX(-200px); /* Start off-screen to the left (full width of the viewport) */
    }
    100% {
        transform: translateX(100vw); /* Move to the right off-screen (full width of the viewport) */
    }
}

.ocean-wrapper {
    position: relative;
    height: 20px;
    z-index: 2;
}

.ocean-color {
    height: 88px;
    width: 100%;
    background-color: #1a1a1a;
    position: absolute;
    top: 49px;
    left: 0;
}


/* LARGER WAVES AND FIN - NOT USING NOW
.waves {
    position: relative;
    overflow: hidden;
    height: 40px;
    width: 100%;
    background-image: url('/assets/image/wave-black.svg');
    background-repeat: repeat-x;
    background-size: 100px 40px;
    animation: wave-scroll 10s linear infinite;
    z-index: 3;
    top: 50px;
}

.shark-fin {
    position: relative;
    top: 100px;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.shark-fin img {
    width: auto;
    height: 100%;
    left: 0;
    animation: fin-drift 16s linear infinite;
}
*/