*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    color: #555;
    margin: 0;
    -webkit-text-size-adjust: 100%;
}

a {
    color: #3FB1CE;
    text-decoration: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile {
    padding: 15px 15px 30px 15px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.profile__image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    margin-top: 19px;
}

.profile__info {
    width: 100%;
    max-width: 760px;
    min-width: 280px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    margin-top: 18px;
}

.profile__description-intro {
    display: inline-block;
    margin-bottom: 0;
}

.profile__heading {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.5em;
}

.profile__title {
    font-weight: normal;
    font-size: 0.80em;
    color: #888;
}

.profile__description,
.profile__contact,
.profile__rate {
    font-size: 0.9em;
    line-height: 1.2;
}

.profile__description {
    margin: 2em auto 0 auto
}

.profile__social-nav {
    margin-top: 45px;
    display: flex;
    gap: 40px;
}

.profile__social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.profile__social-link:hover {
    color: #15a6c8;
    text-decoration: underline;
}

.profile__social-link:hover .profile__social-icon,
.profile__social-link:focus .profile__social-icon {
    fill: #3FB1CE;
    filter: drop-shadow(0 2px 6px rgba(63,177,206,0.18));
    transition: fill 0.18s, filter 0.18s, transform 0.18s;
}

.profile__social-icon {
    width: 2em;
    height: 2em;
    fill: #444;
    shape-rendering: geometricPrecision;
}

.profile__about-me-text {
    font-size: 0.9rem;
    line-height: 1.3;
    color: #555;
    margin-bottom: 0;
}


.profile p:first-of-type {
    margin-top: 4px;
}

.profile__expertise-item::before {
    content: '\25A0';
    margin-right: 5px;
    color: #555;
    display: inline-block;
    font-size: 0.8em;
    vertical-align: middle;
}

.profile__actions {
    font-size: 0.9em;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 1;
}

.footer {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #f8f9fa;
    padding: 5px 10px;
    text-align: right;
    font-size: 0.8em;
    z-index: 20;
    pointer-events: auto;
}

.footer__text {
    margin: 0;
    color: #333;
}

.footer__link {
    pointer-events: auto;
    color: #333;
}

.footer__link:hover {
    text-decoration: underline;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5em !important; }
.mt-2 { margin-top: 1em !important; }
.mt-3 { margin-top: 2em !important; }
.mt-4 { margin-top: 3em !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5em !important; }
.mb-2 { margin-bottom: 1em !important; }
.mb-3 { margin-bottom: 2em !important; }
.mb-4 { margin-bottom: 3em !important; }
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.5em !important; }
.pt-2 { padding-top: 1em !important; }
.pt-3 { padding-top: 2em !important; }
.pt-4 { padding-top: 3em !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.5em !important; }
.pb-2 { padding-bottom: 1em !important; }
.pb-3 { padding-bottom: 2em !important; }
.pb-4 { padding-bottom: 3em !important; }

.list-unstyled {
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 0.6em 1.4em;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(60,60,60,0.07);
}
.btn-primary {
    background: #0b6e8f;
    color: #fff;
    border: none;
}
.btn-primary:hover, .btn-primary:focus {
    background: #085571;
    color: #fff;
}
.btn-secondary {
    background: #e7e7e7;
    color: #222;
    border: none;
}
.btn-secondary:hover, .btn-secondary:focus {
    background: #d1d1d1;
    color: #222;
}

.rte {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 20px auto;
    padding: 20px;
    color: #333;
    max-width: 800px;
}

.rte h1 {
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-size: 2em;
    margin-top: 0;
}

.rte h2 {
    color: #444;
    margin-top: 30px;
    font-size: 1.5em;
}

.rte h3 {
    color: #555;
    margin-top: 25px;
    font-size: 1.2em;
}

.rte p {
    margin-bottom: 15px;
}

.rte ul, .rte ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.rte li {
    margin-bottom: 5px;
}

.rte a {
    color: #007bff;
    text-decoration: none;
}

.rte a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .profile {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 15px 20px 15px;
    }

    .profile__image {
        width: 95px;
        height: 95px;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .profile__info {
        max-width: 98vw;
        min-width: 0;
        padding-left: 4vw;
        padding-right: 4vw;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin-top: 0
    }

    .profile__social-nav {
        justify-content: center;
        margin-top: 25px;
        gap: 25px;
    }

    .profile__heading {
        font-size: 1.3em;
    }

    .profile__description,
    .profile__contact,
    .profile__rate {
        font-size: 0.75rem;
    }

    .profile__social-link {
        font-size: 0.75rem;
    }

    .profile__title {
        font-size: 0.65rem;
    }

    .profile__about-me-text {
        font-size: 0.75em;
        text-align: center;
    }

    .mobile-break-inner {
        display: block;
    }

    .footer {
        position: fixed;
    }
}

@media (max-width: 600px) {
    #map {
        height: 100vh;
    }

    .footer__text {
        font-size: 0.7em;
        padding: 0 10px;
    }
}

@media (min-width: 1024px) {
    .mt-lg-3 { margin-top: 2em !important; }
    .mb-lg-4 { margin-bottom: 3em !important; }
    .mt-lg-4 { margin-top: 3em !important; }
    .mt-lg-5 { margin-top: 5em !important; }
    .pt-lg-4 { padding-top: 3em !important; }
    .pb-lg-4 { padding-bottom: 3em !important; }
    .profile {
        padding: 20px 60px 100px 60px;
    }
}
