/*---------------Slider---------------*/
.slider {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
    height: 600px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;te
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Active slide visible */
.slide.active {
    opacity: 1;
}

@media screen and (max-width: 480px) {
    .slider { 
        height: 200px;
    }
}

@media screen and (min-width: 481px) and (max-width: 767px)  {
    .slider { 
        height: 400px;
    }
}

@media screen and (min-width: 768px) and (max-width: 990px)  {
    .slider { 
        height: 400px;
    }
}

@media screen and (min-width: 991px) {
    .slider { 
        height: 800px;
    }
}

/*---------------Testimonial---------------*/
.testimonial {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    padding: 10px;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.testimonial-title {
    font-size: 1.2rem;
    font-family: poppins;
    font-weight: 600;
    color: #000;
    padding: 1rem;
}

.testimonial-tools {
    display: flex;
    align-items: center;
}

.testimonial-tool-icon {
    font-size: 1.5rem;
    margin-right: 0.4rem;
    color: #FFF;
    background-color: #000;
    padding: 2px 10px;
    border-radius: 2px;
}

.testimonial-tool-icon:hover {
    cursor: pointer;
}

.testimonial-body {
    width: 100%;
    overflow: hidden; /* Ensure overflow is hidden to hide extra items */
    position: relative; /* Needed for absolute positioning of items */
    height: 56vh;
}

.testimonial-container {
    width: 100%;
}

.testimonial-content {
    display: flex;
    transition: transform 0.5s ease; /* Smooth transition for sliding effect */
    padding: 20px;
}

.testimonial-item {
    flex: 0 0 calc(100%); /* Set each item to occupy full width minus the gap */
    max-width: calc(100%); /* Ensure each item is not wider than full width minus the gap */
    box-sizing: border-box; /* Ensure padding doesn't increase item width */
    height: 100%;
    margin-right: 20px; /* Add margin to the right to create space between items */
}

.testimonial-item:last-child {
    margin-right: 0; /* Remove the margin on the last item to prevent extra space */
}

.testimonial-item-content {
    padding: 0.5rem;
    font-size: 0.8rem;
    font-family: poppins;
    font-style: italic;
    overflow: hidden;
    text-align: justify;
}

.testimonial-item-thumb > img {
    width: 120px;
    height: 120px;
    border-radius: 50% !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.testimonial-item-title {
    padding: 0.5rem;
    font-family: poppins;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.testimonial-item-designation {
    font-family: poppins;
    font-size: 1rem;
    text-align: center;
}

.testimonial-item-company {
    font-family: poppins;
    font-size: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .testimonial-body {
        height: 52vh;
    }
}

@media (min-width: 769px) and (max-width: 990px) {
    .testimonial-body {
        height: 18vh;
    }
}

/*---------------Album Gallery---------------*/
.gallery-album{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* responsive columns */
    gap: 10px; /* spacing between items */
    padding: 30px;
}

.gallery-album-item{
    padding: 10px;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #bcbcbc;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    transition: transform 0.5s ease;
}

.gallery-album-item:hover{
    transform: scale(1.1);
}

.gallery-album-item > a{
    text-decoration: none;
    color: #747474;
}

.gallery-album-item-img{
    width: 100%;
    height: 250px;
    overflow: hidden;
    padding:2px;
}

.gallery-album-item-img > img{
    width: 100%;
    min-height: 250px;
    height: auto;
}

.gallery-album-item-title{
    padding: 3px;
    font-family: poppins;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.album{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* responsive columns */
    gap: 10px; /* spacing between items */
    padding: 30px;
}

.album-item{
    overflow: hidden;
    height: 250px;
}

.album-item > img{
    width: 100%;
    min-height: 250px;
    height: auto;
    transition: transform 0.5s ease;
}

.album-item > img:hover{
    transform: scale(1.2);
    cursor: pointer;
}

#imageModal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
    padding-top: 60px;
}

#imageModal img {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 90%;
}

#imageModal span {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
}