:root {
    --primary-blue: #0077BE;
    --secondary-gray: #555555;
    --light-gray: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Verdana, sans-serif;
    color: #333;
}

.primary-color {
    color: var(--primary-blue);
}

.primary-bg {
    background-color: var(--primary-blue);
}

.secondary-color {
    color: var(--secondary-gray);
}

.secondary-bg {
    background-color: var(--secondary-gray);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    left: 0;
    bottom: -2px;
    transition: width 0.3s;
}

.nav-link:hover::after,
.active.nav-link::after {
    width: 100%;
    color: var(--primary-blue);
}


.logo-text {
    font-weight: 700;
    letter-spacing: 1px;
}

/*.slideshow {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide .slide-bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: unset;
    z-index: 1;
}


.slide-content {
    max-width: 800px;
    text-align: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    z-index: 2;
}*/

.btn {
    display: inline-block;
    padding: 13px 20px;
    color: #fff;
    text-decoration: none;
    position: relative;
    background: transparent;
    border: 1px solid #e1e1e1;
    font: 12px/1.2 "Roboto", sans-serif;
    letter-spacing: 0.4em;
    text-align: center;
    text-indent: 2px;
    text-transform: uppercase;
    transition: color 0.1s linear 0.05s;
}
.btn::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-blue);
    z-index: 1;
    opacity: 0;
    transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0.2s;
}
.btn::after {
    transition: border 0.1s linear 0.05s;
}
.btn .btn-inner {
    position: relative;
    z-index: 2;
}
.btn:hover {
    color: #373737;
    transition: color 0.1s linear 0s;
}
.btn:hover::before {
    top: 0;
    height: 100%;
    opacity: 1;
    transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0s;
    border-radius: 9999px;
}
.btn:hover::after {
    border-color: #373737;
    transition: border 0.1s linear 0s;
}

.slideshow {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;
}
.slideshow .slideshow-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slideshow .slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slideshow .slide {
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.slideshow .slide.is-active {
    display: block;
}
.slideshow .slide.is-loaded {
    opacity: 1;
}
.slideshow .slide .caption {
    padding: 0 100px;
}
.slideshow .slide .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    z-index: 1;
    background-size: cover;
    image-rendering: optimizeQuality;
}
.slideshow .slide .image-container::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.slideshow .slide .image {
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.slideshow .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slideshow .slide .title {
    margin: 0 auto 15px;
    max-width: 1000px;
    font: 300 50px/1.2 'Roboto', sans-serif;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}
.slideshow .slide .text {
    margin: 0 auto;
    max-width: 1000px;
    font-size: 18px;
    line-height: 1.4;
}


.slideshow .slide .btn {
    margin: 15px 0 0;
    border-color: #fff;
}
.slideshow .slide .btn::before {
    background: #fff;
}
.slideshow .pagination {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    height: 12px;
    cursor: default;
    z-index: 2;
    text-align: center;
}
.slideshow .pagination .item {
    display: inline-block;
    padding: 15px 5px;
    position: relative;
    width: 46px;
    height: 32px;
    cursor: pointer;
    text-indent: -999em;
    z-index: 1;
}
.slideshow .pagination .item + .page {
    margin-left: -2px;
}
.slideshow .pagination .item::before {
    content: "";
    display: block;
    position: absolute;
    top: 15px;
    left: 5px;
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease;
}
.slideshow .pagination .item::after {
    width: 0;
    background: #fff;
    z-index: 2;
    transition: width 0.2s ease;
}
.slideshow .pagination .item:hover::before, .slideshow .pagination .item.is-active::before {
    background-color: #fff;
}
.slideshow .arrows .arrow {
    margin: -33px 0 0;
    padding: 20px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    z-index: 3;
}
.slideshow .arrows .prev {
    left: 30px;
}
.slideshow .arrows .prev:hover .svg {
    left: -10px;
}
.slideshow .arrows .next {
    right: 30px;
}
.slideshow .arrows .next:hover .svg {
    left: 10px;
}
.slideshow .arrows .svg {
    position: relative;
    left: 0;
    width: 14px;
    height: 26px;
    fill: #fff;
    transition: left 0.2s ease;
}

@media (max-width: 1024px) {
    .slideshow .slide .title,
    .slideshow .slide .text {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .slideshow .slide .caption {
        padding: 0 35px;
    }
    .slideshow .slide .title {
        font: 300 25px/1.2 'Roboto', sans-serif;
    }
    .slideshow .slide .text {
        font-size: 16px;
    }
    .slideshow .arrows .prev {
        left: 5px;
    }
    .slideshow .arrows .next {
        right: 5px;
    }
}

#top {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-blue);
}
#top .header-bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(0, 119, 190, 0.45);
}

#top .w-full {
    background-repeat: no-repeat;
    background-position: top right;
}


#top .header-caption {
    color: #ffffff;
    z-index: 3;
}

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .h-48 {
    position: relative;
    overflow: hidden;
}
.service-card .h-48 img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.service-card .h-48 i {
    z-index: 1;
    color: rgba(0, 119, 190, 0.65);
}

.cta-button {
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 190, 0.3);
}

.section {
    scroll-margin-top: 80px;
}

/* Accordion styles for FAQ */
.accordion-header {
    cursor: pointer;
    position: relative;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #e9e9e9;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s;
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
    border-radius: 0 0 5px 5px;
}

.accordion-content.show {
    max-height: 500px;
    padding: 1rem;
}

#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    padding: 2rem;
}

.fadeout {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 2s linear;
}

/* Hide menu toggle on larger screens */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* For PDF export - optimizing content display */
@media print {
    .slideshow, .mobile-nav, .menu-toggle {
        display: none;
    }

    .section {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }

    .nav-desktop {
        display: none;
    }

    .accordion-content {
        max-height: none;
        display: block;
        padding: 1rem;
    }
}
