﻿/* --- Main styles --- */

:root {
    --white-color: #fefefe;
    --btn-color: var(--white-color);
    --black: #000;
}

body, html {
    overflow: visible;
}

main {
    background: #f9f9fc;
    min-height: 600px;
    padding: 20px 0px 20px 0px;
}

h2 {
    width: 100%;
    text-align: center;
}

/* ---------- Header ---------- */

header {
    background: #fefefe;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

header .container {
    display: flex;
    gap: 15px;
    align-items: center;
    height: 60px;
    padding: 0px;
}

header nav {
    gap: 35px;
    justify-content: flex-start;
    flex-grow: 1;
}

header .logo {
    margin-right: auto;
    width: 200px; /* Set the desired width */
    height: 40px; /* Set the desired height */
    background-image: url("/graphics/logo.png");
    background-size: contain; /* Ensure the image fits within the container */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: left; /* Center the image within the container */
}

header .actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    width: 200px;
}

header a {
    text-decoration: none;
    color: var(--darker-color);
    transition: 0.5s;
    font-size: 1.2rem;
}

header a:hover {
    color: var(--primary-color)
}

/* ---------- Mobile Menu ---------- */

.mobile-menu {
    display: flex;
    flex-flow: column;
    align-items: end;
    width: 350px!important;
}

.mobile-menu .logo {
    width: 130px;
}

.mobile-menu img {
    width: 100%;
}

.mobile-menu .close {
    text-align: center;
    width: 50px;
    padding: 10px;
}

.mobile-menu > div {
    width: 100%;
}

.mobile-menu a {
    text-decoration: none;
    transition: 0.5s;
    font-size: 1.4rem;
    padding: 10px 10px 10px 20px;
    width: 100%;
    display: block;
}




.row {
    margin: 0px;
}



.hero .text-block {
    margin-top: 50px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: flex-start;
}

section:nth-child(odd) {
    background-color: var(--background-primary-color);
}

section:nth-child(even) {
    background-color: var(--background-secondary-color);
}

section {
    padding: 30px 0px 30px 0px;
}

/* ---------- Services --------- */

.services .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
}

.services .card-ih {
    background: #eee;
    border: 2px solid #eee;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.5s;
    min-width: 300px;
}

.card-ih i {
    font-size: 5rem;
}

.services .card-ih > p {
    text-align: start;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.services .card-ih > h3 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.services .card-ih > img {
    text-align: center;
    max-width: 100px;
    margin-bottom: 10px;
}

/* ---------- Testimonials --------- */

.testimonials {
    padding: 30px 0px 30px 0px;
}

.testimonials .quote-card {
    background: #eee;
    border: 2px solid #eee;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.5s;
    width: 23%;
    min-width: 300px;
}

/* --------- Footer -------- */

footer {
    padding: 50px 0px 30px 0px;
    background: #212121;
    margin-top: -20px;
}

footer .container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap:wrap;
    justify-content: center;    
}

footer nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 30%;
    min-width: 300px;
}

footer a, footer p {
    text-decoration: none;
    color: #fefefe;
    transition: 0.5s;
    margin: 0px;
}

footer a:hover {
    color: var(--primary-color)
}

footer .authors {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    width: 100%;
    border-top: 1px solid;
    padding-top: 20px;
    color: var(--white-color);
    order: 99;
}

footer .socials {
    display: flex;
    gap: 25px;
    width: 100%;
    flex-wrap: wrap;
}

footer .socials i {
    margin-right: 10px;
}

footer h5 {
    color: #aaa;
}

footer .logo {
    width: 200px; /* Set the desired width */
    height: 40px; /* Set the desired height */
    background-image: url("/graphics/logo.png");
    background-size: contain; /* Ensure the image fits within the container */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: left; /* Center the image within the container */
}

@media only screen and (max-width: 768px) {
    footer {
        text-align: center;
    }

        footer .socials {
            justify-content: center !important;
        }

    header .actions {
        margin-right: 10px;
    }

    footer .logo {
        width: 100%;
        background-position: center;
    }
}

/* --------- Blog -------- */
.blog {
    padding: 20px 0px 20px 0px;
}

.blog-post {
    transition: 0.5s;
    width: 100%;
}

.blog-post-body {
    min-height: 600px;
}

.blog-post h2 {
    font-size: 1.7rem;
    margin-top: 35px;
    padding-bottom: 10px;
    color: #333;
    text-align: left;
}

.blog-post h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.1rem;
}

.blog-post pre {
    background: #f0f0f4;
    padding: 15px;
    border-radius: 10px;
}

.blog-post p {
    font-size: 1.1rem;
    text-align: justify;
}

.blog-post li {
    font-size: 1.1rem;
    text-align: justify;
}

.blog-post hr {
    margin: 30px 0px 30px 0px;
}

.blog-content {
    margin-top: 20px;
}

.blog-post-card p {
    text-decoration: none;
    color: var(--black);
}

.blog-post-card .blog-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--primary-color);
    padding: 10px 0px 10px 0px;
    color: #bbb;
    font-size: 0.8rem;
}

.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-card a {
    text-decoration: none;
}

.blog-post-card h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 15px;
    text-decoration: none;
    color: var(--black);
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    gap: 20px;
}

@media only screen and (max-width: 768px) {

    .blog-list {
        justify-content: center;
    }
}

/* --------- Contact -------- */

main .contact .info, main .contact .form {
    padding-top: 30px;
}

main .contact {
    padding-bottom: 30px;
}

main .contact h1 {
    font-size: 1.8rem;
    font-weight:600;
}

main .contact h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: start;
}

main .contact form {
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
}

main .contact form .email {
    width: calc(50% - 10px);
}

main .contact form .name {
    width: calc(50% - 10px);
}

main .contact form .message {
    width: 100%;
}

.ih-link {
    --bs-nav-link-color: var(--primary-color);
    --bs-nav-link-hover-color: var(--darker-color);
}

.ih-c-indicators > span {
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
}

.ih-c-indicators > span:hover {
    color: #111;
}

.ih-banner-card {
    padding: 5px;
}

.ih-banner-card > h2 {
    font-family: Helvetica;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    letter-spacing: 5px;
 }









@media only screen and (max-width: 768px) {
    .carousel-inner img {
        max-height: 14rem;
    }
}



@include media-breakpoint-up(sm) {
    .custom-class {
        display: block;
    }
}

.btn-outline-ih {
    width: fit-content;
    min-height: 40px;
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 220, 53, 69;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--primary-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-color);
    --bs-gradient: none;
}

.btn-ih {
    width: fit-content;
    min-height: 40px;
    --bs-btn-color: var(--btn-color);
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: var(--btn-color);
    --bs-btn-hover-bg: var(--darker-color);
    --bs-btn-hover-border-color: var(--darker-color);
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: var(--btn-color);
    --bs-btn-active-bg: var(--darker-color);
    --bs-btn-active-border-color: var(--darker-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--btn-color);
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 6px;
    width: 2px;
    background: white; /* vertical line */
}

.timeline > div {
    position: relative;
    padding-left: 30px;
    margin: 25px 0 25px 10px;
}

.timeline > div::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 7px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}