.sector-container {
	overflow-x: hidden;
	overflow-y: auto;
	
}
.sector-container .sector-item {
	cursor: pointer;
}
.subcategory-container {
	overflow-x: hidden;
	overflow-y: auto;
	
}
.subcategory-container .subcategory-item {
	cursor: pointer;
}
/* General Styles */
section {
    padding: 20px;
}

/* Row 1: Large Slideshow and Small Slides */
.row1 {
    display: flex;
    justify-content: space-between;
}

.large-slide {
    width: 100%;
	height: 450px;
    position: relative;
	overflow: hidden;
}

.slide-container {
    position: relative;
    overflow: hidden;
    display: flex; /* Align slides horizontally */
    width: 100%; /* Adjust the width of the slideshow container */
	height: 100%;
}

.large-slide .slide {
    flex: 0 0 auto; /* Ensure slides don't shrink or grow */
    width: 100%; /* Ensure each slide takes up full container width */
	
    transition: transform 1s ease; /* Smooth slide transition */
	overflow: visible;
	visibility: hidden; /* Hide the slides from the layout */
	
}
.slide img {
	width: auto;
	height: auto;
	object-fit:none; /* Ensures the photo fills the grid cell without maintaining the aspect ratio */
}
/* Active (visible) slide */
.slide.active {
    opacity: 1; /* Make the active slide visible */
    visibility: visible; /* Ensure the active slide is part of the layout */
    transition: opacity 1s ease, visibility 0s; /* No delay for showing the active slide */
}
.large-slide img {
    width: 100%;
    height: 100%;
}
/* Pagination container */


.slide-pagination {
    position: absolute;
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    display: flex; 
    gap: 10px; 
    z-index: 1000!important; 
}


/* Style for each dot */
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
	
}
.large-slide button {
    position: absolute;
    top: 50%;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.large-slide button.prev {
    left: 0;
	z-index: 1;
}

.large-slide button.next {
    right: 0;
	z-index: 1;
}
/*
photo grid
*/



.photo-grid {
	height: 450px;
	display: grid;
    flex-wrap: wrap;
	gap: 10px;
}

.photo-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Ensures the photo fills the grid cell without maintaining the aspect ratio */
}

.photo-grid div {
	background-color: #f0f0f0;
	position: relative;
	overflow: hidden; /* Hide overflow for cropped images */
	border: 1px solid #eee;
}


/*
*/
/* Active dot style */
.dot.active {
    background-color: #333; /* Darker color for the active dot */
}


.small-slides {
    width: 100%;
	height: 330px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.small-slide {
    width: 31%;
	height: 50%;
    margin-bottom: 10px;
}

.small-slides .slide {
	border: 1px solid #ccc;
    width: 100%;
	height: 100%;
}
.small-slides img {
    width: 100%;
	height: 100%;
}
.slideshow button {
    position: absolute;
    top: 50%;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.slideshow button.prev {
    left: 0;
	z-index: 1000;
}

.slideshow button.next {
    right: 0;
	z-index: 1000;
}

/*
carousel
*/
.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 10px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel button.carousel-prev {
    left: 0;
	z-index: 1000;
}

.carousel button.carousel-next {
    right: 0;
	z-index: 1000;
}

/* Row 2: Carousels */
.carousel {
    width: 100%;
	overflow: hidden; /* Hide overflowed items */
    position: relative;
    display: inline-block;
	margin: 20px 0;
}

.carousel-container {
	
    display: flex;
    overflow: hidden;
	transition: transform 0.5s ease; /* Smooth transition when moving items */
}
.carousel-container .carousel-item-2 {
	
    width: 150px; /* Set the width for each item */
	height: 150px;
    /*
		height: 120px;
	*/ /* Set the height for each item */
    flex: 0 0 150px; /* Fix the width to prevent resizing */
    margin-right: 16px; /* Space between items */
	border: 1px solid #eee;
	overflow: hidden;
  position: relative;
	
	
}

.carousel-container .carousel-item-2 img {
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	
	
}

.carousel img {
    width: 100%;
    height: 100%;
	object-fit: cover; /* Maintain aspect ratio */
	cursor: pointer;
}

/* Row 3: Full-Width Carousel */
.full-width-carousel {
    width: 100%;
    overflow: hidden; /* Hide the overflowed images */
    position: relative;
    margin: 20px 0;
}

.full-carousel-container {
    display: flex;
    /*
		animation: scroll-left 70s linear infinite;
	*/ /* Continuous scroll animation */
	
    will-change: transform; /* Optimizes performance for smooth animation */
	animation-play-state: running; /* The animation is running by default */
}
.full-carousel-container:hover {
	
    /*animation-play-state: paused;*/ /* Pause the animation when hovering over the container */
}
.full-carousel-item {
	cursor:pointer;
    margin: 8px;
    width: 150px; /* Fix the width to 150px */
    height: 120px; /* Fix the height to 120px */
    flex: 0 0 150px; /* Prevent flex from resizing items */
    box-sizing: border-box;
	border: 1px solid #eee;
}

.full-carousel-item img {
    width: 100%;
    height: 100%;
	max-width: 150px;
    max-height: 120px;
    object-fit: cover; /* Keep image ratio without cropping */
}

/* Animation to move the photos from right to left continuously */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Buttons for manual control */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
	z-index: 1000;
}

.carousel-button.left {
    left: 10px;
}

.carousel-button.right {
    right: 10px;
}

/* Row 4: Infinite Scroll */
#infinite-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#infinite-scroll img {
    width: 19%;
    height: auto;
}
.modal .card {
	cursor: pointer;
}
.modal .card.selected {
	background-color: #483D8B !important;
	color: #fff;
}