/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Global styles */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: #676a6c; 
    background-color: #F3F7F1; 
    margin: 0;
    padding: 0;
    line-height: 1.5;
    overflow-x: hidden; 
}
.custom-bg {
    background-color: #F3F7F1; 
}

html, body {
    width: 100%; 
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    background-color: #F3F7F1; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow-x: hidden; 
}

/* Logotyp */
.logo-container {
    text-align: left;
    padding-left: 20px; 
    flex: 1; 
}

.logo img {
    height: 40px;
}

/* Länkar */
.nav-links-container {
    display: flex;
    gap: 20px; 
    margin-left: auto; 
    margin-right: 20px; 
}

header .navbar .nav-links-container .nav-link {
    color: #237284 !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 16px;
}

.nav-link:hover {
    color: #89A427; 
}

/* Knapp */
.btn {
    background-color: #48ad20;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    font-weight: bold;
    padding: 15px 50px;
}

@media (max-width: 768px) {
    .btn {
        display: block; 
        width: 95%; 
        max-width: 400px; 
        margin: auto; 
        text-align: center; 
    }
}


@media (max-width: 768px) {
    .navbar a {
        font-size: 0.9rem; 
        padding: 1px;
        margin-top: 8px;
    }
    
    .logo img {
        height: 30px; 
        margin-top: 0px;
    }

    .logo-container {
        padding-left: 10px; 
    }

    .navbar {
        padding: 20px;
        flex-direction: column;
    }
    .navbar {
        flex-direction: row; 
        justify-content: space-between;
        overflow-x: hidden; 
    }

    .logo-container {
        margin-bottom: 0;
        padding-left: 0; 
    }

    .nav-links-container {
        justify-content: center;
        margin-left: auto;
        margin-right: auto; 
    }

    
    .btn-container {
        display: none;
    }
}

/* Hero sektion */
#hero {
    background-color: #F3F7F1; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 30px 70px;
    overflow-x: hidden; 
}

#hero .text-content {
    flex: 2;
    max-width: 70%;
    text-align: left;
    margin-right: 20px; 
    margin-bottom: 50px;
}

#hero h1 {
    color: #237284; 
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #676A6C; 
}

#hero p:last-of-type {
    margin-bottom: 50px; 
}


#hero ul {
    margin-bottom: 20px;
    color: #676A6C;
    list-style-type: disc; 
    padding-left: 20px;
}

#hero ul li {
    font-size: 1rem;
    color: #676A6C;
    margin-bottom: 10px; 
}


.hero-buttons .btn {
    background-color: #237284; 
    color: white;
    padding: 20px 30px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 20px;
}


#hero .image-content {
    flex: 1;
    text-align: center;
}

#hero .image-content img {
    max-width: 100%;
    height: auto;
}


@media (max-width: 768px) {
    #hero {
        flex-direction: column; 
        padding: 20px 20px; 
        overflow-x: hidden; 
    }

    #hero .text-content {
        max-width: 100%; 
        margin-right: 0; 
        text-align: left; 
    }

    #hero h1 {
        font-size: 1.8rem; 
    }

    #hero p {
        font-size: 1rem;
    }

    #hero .image-content {
        display: none; 
    }

    .hero-buttons {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        gap: 15px; 
        text-align: center; 
    }

    .hero-buttons .btn {
        width: 70%; 
        margin: 0;
        padding: 15px 20px; 
    }


    body, html {
        margin: 0;
        padding: 0;
        overflow-x: hidden; 
        width: 100%;
        box-sizing: border-box;
    }
}
.dark-blue-section {
    background-color: #237284; 
    color: white;
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    overflow-x: hidden;
    width: 100%; 
    box-sizing: border-box;
}

.dark-blue-section .content-wrapper {
    display: table; 
    text-align: left; 
    margin: 0 auto; 
    max-width: 800px; 
}
.dark-blue-section ul {
    display: table; 
    margin: 0 auto; 
    list-style-position: outside; 
    padding-left: 0;
}

.dark-blue-section ul li {
    text-align: left; 
    margin-bottom: 8px; 
}

@media (max-width: 768px) {
    .dark-blue-section {
        background-color: #237284; 
        color: white;
        text-align: left; 
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        width: 100%; 
        box-sizing: border-box; 
    }
    .dark-blue-section h1 {
        font-size: 1.7rem;
    }
    .dark-blue-section ul {
        list-style-position: outside; 
        padding-left: 20px; 
        margin: 0; 
    }
    
    .dark-blue-section ul li {
        text-align: left; 
        margin-bottom: 8px; 
        padding-left: 0px; 
    }  
}

/* Allmän footer-styling */
.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    color: #ffffff; 
    text-align: center;
}

/* Kolumner */
.footer-columns {
    display: flex;
    justify-content: space-between; 
    gap: 50px;
    margin-top: 20px;
    text-align: center; 
}

.footer-column {
    flex: 1;
    max-width: 800px;
}
.footer-column h4 {
    color: #ffffff;
}

.footer-column h5 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
}

.footer-column p {
    line-height: 1.6;
    margin: 0;
}

.footer-column a {
    color: #ffffff;
    text-decoration: underline;
    display: inline-block; 
    margin-top: 0px;
}

/* Karta */
.footer-map iframe {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    border: none;
}

/* Footer längst ner */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom-logo {
    width: 150px;
    margin-bottom: 20px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-bottom-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

.footer-bottom-links span {
    width: 2px;
    height: 20px;
    background-color: #ffffff;
}

/* Mobilanpassning */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }
}
.sticky-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #48AD20; 
    color: white;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    padding: 5px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.sticky-banner:hover {
    background-color: #3e9b1b; 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); 
}

.sticky-banner i {
    font-size: 36px; 
    margin-bottom: 12px;
    margin-top: -8px;
}

.sticky-banner .big-text {
    margin: 0;
    font-size: 22px; 
    font-weight: bold;
    line-height: 1;
}

.sticky-banner .small-text {
    margin: 2px 0 0 0;
    font-size: 14px; 
}
.tooltip {
    position: absolute;
    bottom: 80%; 
    left: -150%; 
    background-color: white; 
    color: black; 
    padding: 16px 20px; 
    border-radius: 12px; 
    font-size: 14px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
    text-align: left; 
    max-width: 300px; 
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.sticky-banner:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}
@media (max-width: 768px) {
    .sticky-banner {
        width: 120px; 
        height: 120px; 
        bottom: 15px; 
        right: 15px; 
    }

    .sticky-banner i {
        font-size: 28px; 
    }

    .sticky-banner .big-text {
        font-size: 16px; 
    }

    .sticky-banner .small-text {
        font-size: 10px; 
    }

    .tooltip {
        font-size: 12px; 
        max-width: 250px; 
    }
}
.tooltip .read-more-link {
    display: block; 
    margin-top: 8px; 
    color: #237284; 
    font-weight: bold;
    text-decoration: none;
}

.tooltip .read-more-link:hover {
    text-decoration: underline;
}

.employee-section {
    background-color: #F3F7F1;
    padding-bottom: 50px;
}

.employee-section {
    background-color: #F3F7F1;
    padding-bottom: 40px;
}

.employee-card {
    background: white;
    border: 2px solid #237284; 
    border-radius: 20px;
    padding: 15px;
}

.employee-card .card-img-top {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.employee-card .card-body p {
    color: #555;
    font-size: 16px;
}

.employee-card i {
    margin-right: 5px;
    color: #237284;
}

.carousel-inner {
    margin-bottom: 60px;
}

.carousel-indicators {
    position: absolute;
    bottom: -50px !important;
    justify-content: center;
    gap: 4px;
    width: auto !important;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(35, 114, 132, 0.4) !important;
    border: none !important;
}

.carousel-indicators .active {
    background-color: #237284 !important;
}
.contact-link {
    color: inherit !important;  
    text-decoration: none !important; 
}


@media (min-width: 768px) {
    .mobile-indicator {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .carousel-inner .carousel-item > .row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .carousel-inner .carousel-item .employee-container {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .desktop-indicator {
        display: none !important;
    }

    .mobile-indicator {
        display: inline-block !important;
    }
}
.faq-container {
    background-color: #F3F7F1;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-section {
    padding-bottom: 50px; 
}

.faq-header {
    text-align: center;
    font-size: 35.17px;
    color: #237284;
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 2px solid #237284;
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    font-size: 1rem;
    color: #237284;
    font-weight: bold;
}

.faq-answer {
    display: none;
    padding: 10px;
    font-size: 1rem;
    color: #333;
    border-radius: 5px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item .faq-toggle {
    font-size: 1rem;
    color: #237284;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg); 
}
@media (max-width: 768px) {
    .faq-header {
        font-size: 28.21px;
    }
}
.text-center.fw-bold.text-white {
    font-size: 35.17px;
}
@media (max-width: 768px) {
    .text-center.fw-bold.text-white {
        font-size: 28.21px;
    }
}


