﻿.bg-header, .icon-button, .navbar-nav .nav-item .nav-link {
    background-color: var(--accent-color)
}

.back-button, .card, .close, .icon-button {
    text-decoration: none
}

:root {
    --accent-color: #0093a2
}

html {
    scroll-behavior: smooth
}

.navbar-nav .nav-item .nav-link {
    color: #fff !important;
    padding: 16px 32px;
    border-radius: 32px;
    text-align: center;
    margin: 4px;
    font-size: 20px
}

    .navbar-nav .nav-item .nav-link:hover {
        color: var(--accent-color) !important;
        background-color: #fff !important
    }

.icon-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    color: #fff;
    border-radius: 16px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    position: relative;
    user-select: none;
    border: none;
    transition: transform .3s ease-in-out,box-shadow .3s ease-in-out
}

.icon-img {
    width: 30px;
    height: 30px;
    transition: transform .3s ease-in-out;
    background-color: transparent
}

.icon-button span {
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
    color: #fff;
    transition: color .3s ease-in-out
}

.icon-button:hover {
    background-color: #007a8a;
    box-shadow: 0 8px 16px rgba(0,0,0,.2),0 4px 8px rgba(0,0,0,.1);
    transform: translateY(-4px)
}

.back-button:hover, .card::before {
    background-color: var(--accent-color)
}

.icon-button:hover .icon-img {
    transform: scale(1.2)
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")
}

.custom-toggler.navbar-toggler {
    border-color: transparent;
    padding: 8px 12px;
    margin: 0 -8px 0 0;
    cursor: pointer;
    outline-color: none;
    box-shadow: none
}

.prevent-select {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.call-us-text {
    font-size: 16px;
    font-weight: 400;
    animation: 2s infinite colorChange
}

@keyframes colorChange {
    0%,100% {
        color: #000
    }

    50% {
        color: red
    }
}

.footer-top {
    width: 100%;
    border-top: 5px solid var(--accent-color);
    background: var(--accent-color);
    justify-content: space-between;
    color: #fff;
    align-items: flex-start;
    padding-top: 32px;
    padding-bottom: 20px;
    margin-top: 48px;
    margin-bottom: 48px;
    display: flex
}

.card, .footer-bottom {
    background-color: #fff
}

.footer-top .row > div {
    margin-bottom: 20px
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #000;
    text-align: center;
    position: absolute;
    bottom: 0
}

.card, .card-content, .card-image {
    position: relative
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0
}

li {
    margin: 4px 0
}

.logo {
    max-width: 100%;
    height: auto;
    margin: auto
}

@media (max-width:768px) {
    .logo {
        width: 80%;
        margin: 0 auto;
        display: block
    }
}

@media (max-width:576px) {
    .logo {
        width: 50%
    }

    .footer-top.row {
        text-align: center
    }
}

.grid-container {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit,minmax(300px,0.35fr));
    padding: 20px
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #333;
    transition: transform .3s,box-shadow .3s;
    cursor: pointer
}

.card-image {
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 1
}

.card-content {
    padding: 20px;
    z-index: 1
}

.card .date {
    color: #00b6c8
}

.card .content, .card h3 {
    margin: 0;
    transition: color .3s
}

.card:hover, .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,.2)
}

.card::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: bottom .3s
}

.card:hover::before {
    bottom: 0
}

.card:hover .content, .card:hover .date, .card:hover h3 {
    color: #fff
}

.blog-details-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1)
}

.blog-details-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px
}

.blog-details-content {
    padding: 20px
}

    .blog-details-content h1 {
        font-size: 2em;
        margin-bottom: 10px;
        color: #333
    }

    .blog-details-content .date {
        color: #00b6c8;
        font-size: .9em;
        margin-bottom: 20px
    }

    .blog-details-content .content p {
        font-size: 1.1em;
        line-height: 1.6;
        color: #333;
        margin-bottom: 15px
    }

@media (max-width:768px) {
    .blog-details-container {
        padding: 15px
    }

    .blog-details-image {
        max-height: 250px
    }

    .blog-details-content h1 {
        font-size: 1.8em
    }

    .blog-details-content .content p {
        font-size: 1em
    }
}

@media (max-width:480px) {
    .blog-details-container {
        padding: 10px
    }

    .blog-details-image {
        max-height: 200px
    }

    .blog-details-content h1 {
        font-size: 1.5em
    }

    .blog-details-content .content p {
        font-size: .9em
    }
}

.back-button {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 16px;
    background-color: #00b6c8;
    color: #fff;
    border-radius: 4px;
    font-size: .9em;
    transition: background-color .3s
}

.gallery img, .modal img, .service {
    border-radius: 8px
}

.back-button:hover {
    color: #fff
}

.gallery {
    display: grid;
    gap: 24px;
    max-width: 100%;
    margin: 0 auto;
    grid-template-columns: repeat(2,1fr)
}

    .gallery img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform .3s,box-shadow .3s;
        cursor: pointer
    }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    justify-content: center;
    align-items: center;
    z-index: 10
}

    .modal:target, .service {
        display: flex
    }

    .modal img {
        max-width: 90%;
        max-height: 80%
    }

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 1.5em
}

.service {
    align-items: center;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1)
}

    .service h2 {
        margin: 0;
        color: var(--accent-color)
    }

    .service img {
        width: 80px;
        height: 80px;
        margin-right: 20px
    }

    .service p {
        margin: 5px 0 0
    }
