body {
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    font-weight: 600;
}

.hero-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.profile-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

.hero-text-contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-logo {
    font-family: gelato-fresco-variable, sans-serif;
    font-variation-settings: "wght" 500;
    font-style: normal;
    font-size: 3em;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text .job-title {
    font-size: 1.4em;
    color: #71A0CF;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-contact {
    text-align: center;
}

.hero-contact p {
    margin: 6px 0;
    font-size: 1em;
    color: #4a5568;
}

.hero-contact i {
    margin-right: 8px;
    color: #71A0CF;
    width: 1.1em;
    text-align: center;
}

.hero-contact a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

.hero-contact a:hover {
    text-decoration: underline;
    color: #003d80;
}

.profile-section {
    padding: 40px 0;
}

.profile-section p {
    font-size: 1.1em;
    text-align: left;
    line-height: 1.75;
    color: #343a40;
}

.experience-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.job-entry {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.job-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.job-entry h3 {
    font-size: 1.6em;
    color: #343A40;
    margin-bottom: 2px;
    font-weight: 600;
}

.job-entry .job-title-location {
    font-size: 1.2em;
    color: #495057;
    margin-top: 0;
    margin-bottom: 4px;
    font-weight: 500;
}

.job-entry .job-title-location strong {
    color: #2c3e50;
}

.job-entry .job-title-location em {
    font-style: normal;
    color: #6c757d;
}

.job-entry .job-dates {
    font-size: 0.95em;
    color: #6c757d;
    margin-bottom: 10px;
}

.job-entry ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 0;
    color: #343a40;
}

.job-entry ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

footer {
    background-color: #f8f9fa;
    color: #6c757d;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    font-size: 0.9em;
}

footer p {
    margin: 0;
}

@media (min-width: 768px) {
    .section-title {
        text-align: left;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 40px;
    }

    .profile-photo img {
        width: 200px;
        height: 200px;
        flex-shrink: 0;
    }

    .hero-text-contact-wrapper {
        align-items: flex-start;
    }

    .profile-logo {
        font-size: 4em;
        text-align: left;
    }

    .hero-text .job-title {
        font-size: 1.4em;
        text-align: left;
    }

    .hero-contact {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .profile-logo {
        font-size: 2.5em;
    }

    .hero-text .job-title {
        font-size: 1.2em;
    }

    .profile-photo img {
        width: 150px;
        height: 150px;
    }

    .profile-section p {
        font-size: 1em;
    }

    .job-entry h3 {
        font-size: 1.4em;
    }

    .job-entry .job-title-location {
        font-size: 1.1em;
    }
}

.services-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.service-categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-category {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: left;
}

.service-category h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #71A0CF;
    padding-bottom: 8px;
}

.service-category ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.service-category ul li {
    font-size: 1em;
    color: #343a40;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.service-category ul li i {
    color: #71A0CF;
    margin-right: 10px;
    font-size: 1.1em;
    width: 1.2em;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.1em;
}

.portfolio-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.portfolio-item {
    padding: 0 0 20px;
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.portfolio-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.portfolio-item h3 {
    font-size: 1.7em;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
}

.portfolio-item p {
    font-size: 1em;
    color: #343a40;
    line-height: 1.7;
    margin-bottom: 15px;
}

.portfolio-item a {
    color: #0056b3;
    font-weight: 500;
}

.portfolio-item a:hover {
    text-decoration: underline;
    color: #003d80;
}

.portfolio-image-gallery {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 5px 0;
    margin: 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track img {
    max-height: 200px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
    object-fit: cover;
}

.carousel-button {
    background-color: rgba(44, 62, 80, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: none;
    transition: background-color 0.2s ease;
}

.carousel-button:hover:not(:disabled) {
    background-color: rgba(44, 62, 80, 0.8);
}

.carousel-button:disabled {
    opacity: 0.4;
    cursor: default;
}

.carousel-button.prev {
    left: -5px;
}

.carousel-button.next {
    right: -5px;
}

@media (pointer: fine) and (min-width: 768px) {
    .carousel-button {
        display: block;
    }
}

@media (max-width: 767px) {
    .portfolio-image-gallery {
        padding: 0 5px;
    }
    .carousel-track img {
        max-height: 130px;
    }
}

@media (min-width: 768px) {

}

@media (max-width: 767px) {
    .service-categories-container {
        grid-template-columns: 1fr;
    }
    .portfolio-item {
        padding: 20px 0;
    }
    .service-category h3 {
        font-size: 1.3em;
    }
    .portfolio-item h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .service-category h3 {
        font-size: 1.2em;
    }
    .service-category ul li {
        font-size: 0.95em;
    }
    .portfolio-item h3 {
        font-size: 1.3em;
    }
    .portfolio-item p {
        font-size: 0.95em;
    }
}

.lightbox-overlay {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-sizing: border-box;
    padding: 20px;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-image-content {
    display: block;
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    margin: auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-radius: 4px;
    animation: lightboxZoomIn 0.3s ease-out;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close-button {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #333;
    font-size: 45px;
    font-weight: bold;
    transition: 0.3s ease;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close-button:hover,
.lightbox-close-button:focus {
    color: #000;
    text-decoration: none;
}

@media only screen and (max-width: 700px){
    .lightbox-image-content {
        max-width: 95%;
        max-height: 85vh;
    }
    .lightbox-close-button {
        font-size: 35px;
        top: 15px;
        right: 25px;
    }
}