.elementor .e-grid .webstudio_albania8 {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
}

/* Webstudio Albania8 */
.elementor .e-grid .elementor-widget-html .elementor-widget-container .webstudio_albania8 {
    width: 100% !important;
}

.webstudio_albania8 {
    --primary-color: #FF681A; /* Orange */
    --secondary-color: #37D4D9; /* Turquoise */
    --text-color: #333;
    --light-bg: #ffffff; /* White background */
    --dark-shadow: rgba(0, 0, 0, 0.1);
    --light-shadow: rgba(255, 255, 255, 0.8);
    --card-radius: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.webstudio_albania8 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

/* Background animation */
.webstudio_albania8 .bg-animation8 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    display: none; /* Hide background animation */
}

.webstudio_albania8 .bg-animation8 span {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: move8 15s linear infinite;
}

@keyframes move8 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, 50px) scale(1.2);
    }
    50% {
        transform: translate(50px, 100px) scale(0.8);
    }
    75% {
        transform: translate(-50px, 50px) scale(1.1);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.webstudio_albania8 .card8 {
    width: 100%;
    max-width: 380px;
    background-color: var(--light-bg); /* White background */
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 10px 10px 20px var(--dark-shadow),
                -10px -10px 20px var(--light-shadow);
    transition: box-shadow 0.3s ease;
    position: relative;
}

/* Removed hover transform effect */
.webstudio_albania8 .card8:hover {
    box-shadow: 10px 10px 20px var(--dark-shadow),
                -10px -10px 20px var(--light-shadow);
}

.webstudio_albania8 .card-image-container8 {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.webstudio_albania8 .card-carousel8 {
    position: relative;
    height: 100%;
    width: 100%;
}

.webstudio_albania8 .card-slide8 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.webstudio_albania8 .card-slide8.active8 {
    opacity: 1;
}

.webstudio_albania8 .card-image8 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Removed hover transform effect */
.webstudio_albania8 .card8:hover .card-image8 {
    transform: scale(1);
}

/* Updated ribbon style */
.webstudio_albania8 .ribbon8 {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    text-transform: uppercase;
}

.webstudio_albania8 .card-content8 {
    padding: 25px;
}

.webstudio_albania8 .card-title8 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.webstudio_albania8 .card-title8::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.webstudio_albania8 .card-description8 {
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--text-color);
}

.webstudio_albania8 .card-buttons8 {
    display: flex;
    gap: 10px; /* Reduced gap */
    justify-content: space-between;
}

.webstudio_albania8 .btn8 {
    padding: 10px 15px; /* Adjusted padding */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 0.9rem;
    flex: 1;
    max-width: 48%;
}

.webstudio_albania8 .btn-primary8 {
    background: var(--primary-color);
    color: white;
    box-shadow: 5px 5px 10px var(--dark-shadow),
                -2px -2px 5px var(--light-shadow);
}

.webstudio_albania8 .btn-primary8:hover {
    background: var(--primary-color);
}

.webstudio_albania8 .btn-secondary8 {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 3px 3px 8px var(--dark-shadow),
                -2px -2px 5px var(--light-shadow);
}

.webstudio_albania8 .btn-secondary8:hover {
    background: transparent;
}

.webstudio_albania8 .btn8 i {
    font-size: 0.9rem;
}

/* Popup styles */
.webstudio_albania8 .popup-overlay8 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999999999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.webstudio_albania8 .popup-overlay8.active8 {
    opacity: 1;
    visibility: visible;
}

.webstudio_albania8 .popup-content8 {
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: var(--card-radius);
    padding: 30px 5px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
    max-height: 90vh;
    overflow-y: auto;
}

.webstudio_albania8 .popup-overlay8.active8 .popup-content8 {
    transform: scale(1);
    opacity: 1;
}

.webstudio_albania8 .popup-close8 {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.webstudio_albania8 .popup-close8:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.webstudio_albania8 .popup-title8 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.webstudio_albania8 .popup-description8 {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Slideshow styles */
.webstudio_albania8 .slideshow8 {
    position: relative;
    height: 400px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.webstudio_albania8 .slide8 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.webstudio_albania8 .slide8.active8 {
    opacity: 1;
}

.webstudio_albania8 .slide8 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webstudio_albania8 .slide-caption8 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1rem;
}

.webstudio_albania8 .slide-controls8 {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(50%);
    z-index: 5;
}

.webstudio_albania8 .slide-btn8 {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.webstudio_albania8 .slide-btn8:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Card carousel dots */
.webstudio_albania8 .card-indicators8 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.webstudio_albania8 .card-indicator8 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.webstudio_albania8 .card-indicator8.active8 {
    background: white;
}

/* Responsive layouts */
@media (min-width: 992px) {
    .webstudio_albania8 .card8 {
        flex: 1 1 calc(33.333% - 30px); /* 3 cards on desktop */
        max-width: calc(33.333% - 30px);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .webstudio_albania8 .card8 {
        flex: 1 1 calc(50% - 30px); /* 2 cards on tablet */
        max-width: calc(50% - 30px);
    }
}

@media (max-width: 767px) {
    .webstudio_albania8 .card8 {
        flex: 1 1 100%; /* 1 card on mobile */
        max-width: 100%;
    }
}