body {
    font-family: "Poppins", sans-serif;
}

.header-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.header-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
}

.tenant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.tenant-card {
    aspect-ratio: 1;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.tenant-card:hover .card-inner {
    transform: translateY(-10px) rotateY(10deg);
}

.tenant-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tenant-card:hover .tenant-image {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.swiper {
    width: 100%;
    height: 100vh;
}

.tenant-slide {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.slide-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    background: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.department-info {
    flex: 1;
    margin-left: 3rem;
    color: white;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: modalEnter 0.5s ease;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.tenant-slide {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    height: 100%;
}

.slide-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    /* padding: 1rem; */
    margin-bottom: 2rem;
}

.slide-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    background: white;
    border-radius: 25px;
    /* padding: 2rem; */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.department-info {
    width: 100%;
    /* max-width: 1400px; */
    margin: 0 auto;
    color: white;
    overflow-y: auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    height: calc(100vh - 450px);
    /* Adjusts based on image height + padding */
}

/* @media (max-height: 800px) {
    .slide-image {
        width: 200px;
        height: 200px;
        padding: 1.5rem;
    }

    .department-info {
        height: calc(100vh - 350px);
    }
} */
