:root {
    --bs-primary: #007CC8 !important;
    --bs-blue: #007CC8 !important;
    --bs-dark: rgb(30, 30, 30) !important;
    --black: #1a1a1a !important;
    --bs-dark-hover: #282828 !important;
    --white: #FFFFFF !important;
    --blue-gradient-start: #007CC8;
    --blue-gradient-end: #009EFF;
    --bg-blue-transparent: rgba(0, 124, 200, 0.1);
}

body {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100,
    "YTLC" 500;
}

a.nav-link.active {
    color: var(--bs-blue) !important;
    font-weight: 600 !important;
}

.margin-top {
    margin-top: 100px;
}

.contact-info {
    border-radius: 0 0 0 150px;
    width: 50%;
    font-size: 14px;
    color: white;
    font-weight: 300;
    background-color: var(--bs-primary) !important;
}

.header {
    -webkit-box-shadow: 0px 2px 300px -58px rgba(30, 30, 30, 1);
    -moz-box-shadow: 0px 2px 300px -58px rgba(30, 30, 30, 1);
    box-shadow: 0px 5px 50px 19px rgba(30, 30, 30, 0.02);
}

.bg-dark {
    background-color: var(--bs-dark) !important;
}

.under-footer {
    background-color: var(--black);
}

.footer a {
    text-decoration: none;
    color: var(--white);
    opacity: 75%;
}

.welcome-container {
    height: calc(100vh - 100px);
}

#welcome-top {
    margin-top: 100px;
}

.card-content div {
    justify-content: center;
}

.skewed-div {
    position: relative;
    background-color: var(--white);
    background-image: url('../images/welcome-tandil-2.jpg');
    background-size: cover; /* Adjust background size as needed */
    height: calc(100vh - 100px);
    background-repeat: no-repeat;
    background-position: center;
}

.skewed-div::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15%; /* Adjust as needed */
    width: 20%;
    height: 100%;
    background-color: var(--white); /* Match background color of the container */
    transform: skewX(-5deg); /* Adjust the angle of the skew */
}

.under-header {
    top: 100px;
    z-index: -2;
}

.background-square {
    position: relative;
    background-color: rgba(0, 124, 200, 0.08);
    background-size: cover; /* Adjust background size as needed */
    height: 600px;
    width: 600px;
    top: 370px;
    left: -50px;
    transform: rotate(7deg);
    z-index: -1;
}

.border-counter {
    border-left: 10px solid var(--bs-primary);
    padding-left: 30px;
}

.blue-line {
    width: 74px;
    height: 8px;
    background: linear-gradient(30deg, var(--blue-gradient-start), var(--blue-gradient-end));
}

.img-about-us-welcome {
    background: url("../images/about-us-image-welcome.jpeg") no-repeat;
    width: 100% !important;
    padding-top: 100% !important;
    background-size: cover;
}

.works-card {
    position: relative;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    overflow: hidden;
}

.works-card-interior {
    position: absolute;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.inside-card-width {
    width: 350px !important;
}

.inside-card-width-welcome {
    width: 250px !important;
}

/* Styling and initial state for the overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(161, 161, 161, 0.5);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
}

.works-card:hover .works-card-interior,
.works-card:hover .overlay {
    opacity: 1; /* Shows the text and overlay on hover */
}

.works-card::before,
.works-card::after {
    content: '';
    position: absolute;
    background-color: var(--bs-primary); /* Adjust color and opacity as needed */
    transition: width 0.5s ease, height 0.5s ease; /* Smooth transition for the growing lines */
    z-index: 3; /* Ensure lines are above other elements */
}

.works-card::before {
    top: 20px;
    right: 20px;
    width: 0;
    height: 2px; /* Initial height of the line */
}

.works-card::after {
    top: 20px;
    right: 20px;
    width: 2px; /* Initial width of the line */
    height: 0;
}

.works-card:hover::before {
    width: 50px; /* Grow the line to cover the width of the element */
    height: 2px; /* Grow the line to cover the height of the element */
}

.works-card:hover::after {
    width: 2px; /* Grow the line to cover the width of the element */
    height: 50px; /* Grow the line to cover the height of the element */
}


.bg-blue-transparent {
    background-color: rgba(0, 124, 200, 0.08);
}

.img-about-us-founders-alex {
    background: url("../images/alex.png") no-repeat center;
    width: 430px !important;
    height: 500px;
    background-size: cover;
}

.img-about-us-founders-roli {
    background: url("../images/roli.png") no-repeat center;
    width: 430px !important;
    height: 500px;
    background-size: cover;
}

.border-primary {
    border-color: var(--bs-blue) !important;
}

.carousel-image {
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    width: 100% !important;
    height: 750px;

}

#team-img {
    background: url("../images/team-image.png") no-repeat center;
    background-size: cover;
    height: 600px;
    width: 100%;
}

/*ANIMATIONS*/

.hidden {
    opacity: 0;
    transition: all 1s;
}

.show {
    opacity: 1;
}

@media (prefers-reduced-motion) {
    .hidden {
        transition: none !important;
    }
}

.fire_icon {
    background: linear-gradient(30deg, #FFCE00, #FF5A00);
    background-clip: text;
    -moz-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.water_icon {
    background: linear-gradient(30deg, #007CC8, #009EFF);
    background-clip: text;
    color: transparent;
}


.flowair_icon {
    background: linear-gradient(90deg, #007CC8, #009EFF);
    background-clip: text;
    color: transparent;
}

#category-description {
    transition: opacity 0.5s ease;
    height: 40px;
}
