/* index */
body {
    font-family: 'Inter', sans-serif;
}

.glide__arrows, .glide__bullets {
    display: none !important;
}

.nav-link, .hover-underline {
    position: relative;
}

.nav-link::after, .hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .hover-underline:hover::after {
    width: 100%;
}

.solid-redshadow {
    position: relative;
}

.solid-redshadow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
    background-color: #fca5a5;
    border-radius: 4px 0 0 4px;
}

.solid-blueshadow {
    position: relative;
}

.solid-blueshadow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
    background-color: #7dd3fc;
    border-radius: 4px 0 0 4px;
}

.solid-yllowshadow {
    position: relative;
}

.solid-yllowshadow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
    background-color: #fef08a;
    border-radius: 4px 0 0 4px;
}

.window-image {
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
}

.window-image:hover {
    transform: translateY(-2px);
}

.half-width-box {
    width: calc(50% - 1rem);
}

@media (max-width: 768px) {
    .half-width-box {
        width: 100%;
    }
}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ef4444;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #dc2626;
    transform: translateY(-3px);
}

.glide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.carousel-item {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-image {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* contact */

.contact-icon {
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
}

/* services */

.service-card {
    height: 100%;
}
.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height .650s ease;
}
.service-card.active .service-details {
    max-height: 500px;
}
.service-card.active {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


/* sectors */

.image-collage {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 150px);
    gap: 12px;
}

.collage-img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.collage-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.img-1 {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
}

.img-2 {
    grid-column: 4 / span 3;
    grid-row: 1 / span 1;
}

.img-3 {
    grid-column: 4 / span 3;
    grid-row: 2 / span 1;
}

.img-4 {
    grid-column: 1 / span 2;
    grid-row: 3 / span 2;
}

.img-5 {
    grid-column: 3 / span 2;
    grid-row: 3 / span 1;
}

.img-6 {
    grid-column: 5 / span 2;
    grid-row: 3 / span 2;
}

.img-7 {
    grid-column: 3 / span 2;
    grid-row: 4 / span 1;
}

@media (max-width: 768px) {
    .image-collage {
        grid-template-rows: repeat(4, 60px);
        gap: 8px;
    }
}

.image-collage > div {
    opacity: 0;
    transform: translateY(100px);
}

.sector-card {
    opacity: 0;
    transform: translateX(-50px);

}