/**
 * Theme Name: Darabian
 * Template:   mindscape
 * Version:      1.0.5.1
 */

.fluentform .ff-el-input--label {
	float: left;
}

input {
	font-family: 'Montserrat' !important
}

.kubio-offscreen {
    background-color: #272727aa;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.kubio-menu>ul>li {
    align-items: center;
}

.button {
    font-family: 'Noto Serif Display';
    text-transform: uppercase;
    border-color: #000 !important;
}

.button:hover {
    color: black !important;
	border-color: #fff !important;
}

.award-title {
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    background-image: radial-gradient(#b1aca1, #d1b074);
}

[data-kubio="kubio/copyright"] {
    display: none;
}

.testimonial-carousel {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.testimonial-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.testimonial {
    flex: 0 0 33.33%; /* For desktop: show 3 testimonials */
    padding: 20px;
    box-sizing: border-box;
    min-width: 300px; /* Minimum width for each testimonial */
}

.testimonial.active {
    display: block; /* Show only the active testimonials */
}

.testimonial p {
    cursor: pointer;
	max-height: 9.6em; /* Max height for collapsed state */
    line-height: 1.6em;
    font-style: italic;
    display: -webkit-box; /* For Safari */
    display: -moz-box; /* For Firefox */
    display: box; /* Standard */
    -webkit-box-orient: vertical; /* For Safari */
    -moz-box-orient: vertical; /* For Firefox */
    box-orient: vertical; /* Standard */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 6; /* Limits to 6 lines for Safari */
    line-clamp: 6; /* Standard (not widely supported) */
    transition: max-height 0.5s ease; /* Smooth transition */
}

.testimonial-carousel.clicked .testimonial-container .testimonial p {
    max-height: none; /* Remove max-height to expand */
    -webkit-line-clamp: unset; /* Remove line clamp for Safari */
    line-clamp: unset; /* Standard (not widely supported) */
    overflow: visible;
}

.testimonial h6 {
    color: #000;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    z-index: 1;
}

button.carousel-button {
    border-radius: 32px;
    padding: 0;
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: x-large;
    background: #d1b074;
    border: none;
    transition: 0.2s;
}

button.carousel-button:hover {
    background: #a09073;
}

.carousel-button.left {
    left: 0;
	margin-left: -50px;
}

.carousel-button.right {
    right: 0;
	margin-right: -50px;
}

.home-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #272727dd;
	-webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(10px);
    z-index: 1; 
}

.contact-box {
	border-radius: 20px;
	-webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

button.ff-btn.ff-btn-submit {
    font-family: Playfair Display, Helvetica, Arial, Sans-Serif, serif;
    font-weight: 600 !important;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    color: #FFFFFF;
    border: 2px solid #FFFFFF !important;
    background: transparent !important;
    border-radius: 0px;
    padding: 15px 55px;
    transition: 0.5s;
    justify-content: center;
}

button.ff-btn.ff-btn-submit:hover {
    background: #ffffff !important;
    opacity: 1;
    border-radius: 0;
}

a, button, span, div, p {
    outline: none !important;
    -webkit-tap-highlight-color: #ffffff00 !important;
}

/* Media queries for responsive behavior */
@media (max-width: 1024px) {
    .testimonial {
        flex: 0 0 33.33%; /* For tablets */
    }
}

@media (max-width: 768px) {
	.testimonial-container {
        display: flex; /* Ensure flex display for mobile */
        width: 100%; /* Ensure it takes full width */
    }
	
	.testimonial {
        flex: 0 0 100%; /* For mobile devices, show 1 testimonial at a time */
		padding: 10px 30px;
    }
	
	.carousel-button.left {
		margin-left: -10px;
	}
	
	.carousel-button.right {
		margin-right: -10px;
	}
	
	button.carousel-button {
		background: none;
		font-size: large;
		color: #d1b074;
	}
	
	button.carousel-button:hover {
		background: none;
		color: #a09073;
	}

}

@media (min-width: 768px) and (max-width: 1024px) {
	.contact-box-container .h-section-boxed-container {
		max-width: 98%;
	}
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .award-section {
        margin-top: 0 !important;
    }
}