/* E-Oselya Page Styles */


/* Banner section */
.banner-infra.with-bg {
    background-image: url('/assets/images/eoselya/main-banner.jpg?ver=1.6') !important;
}

/* Logo container with layered images */
.eoselya-logo-container {
    position: relative;
    display: inline-block;
    width: 200px;
    height: auto;
}


.eoselya-logo-container .eoselya-base {
    position: relative;
    z-index: 1;
    width: 200px;
    height: auto;
}

.eoselya-logo-container .eoselya-pulse {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 200px;
    height: auto;
    animation: pulse 2s ease-in-out infinite;
    transform-origin: center center;
}

/* Pulsating animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Desktop layout adjustments */
@media (min-width: 769px) {
    section.infrastructure .right {
        width: 59%;
    }
}

/* Mobile version adjustments */
.eoselya-logo-container.mobile {
    width: 150px;
    height: auto;
}

.eoselya-logo-container.mobile .eoselya-base {
    width: 150px;
    height: auto;
}

.eoselya-logo-container.mobile .eoselya-pulse {
    width: 150px;
    height: auto;
}

/* Benefits section */
.benefits-hero {
    text-align: center;
    margin-bottom: 40px;
}

.benefits-hero h2 {
    font-family: PlayfairDisplay-Black, sans-serif;
    font-size: 45px;
    color: #a1aa45;
    margin-bottom: 15px;
    letter-spacing: 2px;
    line-height: 1.1;
}

.benefits-hero .secondary-color {
    color: #a1aa45;
}

.benefits-hero .divider {
    width: 130px;
    height: 1px;
    background-color: #c2c2c2;
    margin: 47px auto 0 auto;
}

.benefits-grid {
    counter-reset: item-counter;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    max-width: 900px;
    margin: 60px auto 0;
    gap: 0;
}

.benefits-grid__item {
    position: relative;
    border: 1px solid #a1aa45;
    padding: 50px 35px;
    transition: 0.2s ease-in-out;
    background: #fff;
}

.benefits-grid__item:nth-child(2n) {
    border-left: 0;
}

.benefits-grid__item:nth-child(3),
.benefits-grid__item:nth-child(4) {
    border-top: 0;
}

.benefits-grid__item::before {
    counter-increment: item-counter;
    content: "0" counter(item-counter);
    position: absolute;
    top: -25px;
    left: 25px;
    background: #fff;
    padding: 0 10px;
    font-family: PlayfairDisplay-Bold, sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #a1aa45;
    border-radius: 5px;
}

.benefits-grid__item::after {
    content: "0" counter(item-counter);
    position: absolute;
    right: 0;
    bottom: -35px;
    font-weight: 500;
    font-family: Roboto-Light, sans-serif;
    font-size: 200px;
    color: rgba(161, 170, 69, 0.1);
    transition: 0.3s ease-in-out;
    transform: translateX(10%);
    opacity: 0;
    z-index: 0;
}

.benefits-grid__item:hover {
    background: rgba(161, 170, 69, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(161, 170, 69, 0.15);
}

.benefits-grid__item:hover .benefits-grid__item-title,
.benefits-grid__item:hover .benefits-grid__item-paragraph {
    transform: translateX(5px);
}

.benefits-grid__item:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.benefits-grid__item-title {
    font-size: 22px;
    font-weight: 500;
    font-family: PlayfairDisplay-Bold, sans-serif;
    color: #a1aa45;
    margin: 0;
    transition: 0.2s ease-in-out;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.benefits-grid__item-paragraph {
    font-size: 18px;
    font-family: Roboto-Light, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 20px;
    color: #666;
    transition: 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}

/* Responsive design for benefits grid */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        max-width: 100%;
        margin: 40px auto 0;
    }

    .benefits-grid__item:nth-child(2n) {
        border-left: 1px solid #a1aa45;
    }

    .benefits-grid__item:nth-child(n+2) {
        border-top: 0;
    }

    .benefits-grid__item {
        padding: 40px 25px;
    }

    .benefits-grid__item-title {
        font-size: 20px;
    }

    .benefits-grid__item-paragraph {
        font-size: 16px;
    }

    .benefits-grid__item::after {
        font-size: 150px;
    }
}

/* Mobile carousel images */
.carousel-image {
    width: 82%;
    object-fit: cover;
}

/* Section titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: PlayfairDisplay-Black, sans-serif;
    font-size: 45px;
    color: #a1aa45;
    letter-spacing: 2px;
}

.section-divider {
    width: 130px;
    height: 1px;
    background-color: #c2c2c2;
    margin: 0 auto 40px auto;
}

/* Komfort section */
.komfort-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.komfort-item {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
    position: relative;
}

.komfort-item img {
    display: block;
    margin: 0 auto;
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Desktop version - 4 items in first row, 3 in second row */
@media (min-width: 992px) {
    .komfort-item:nth-child(-n+4) {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .komfort-item:nth-child(n+5) {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* Tablet version - 3 columns for first 3, 2 columns for next 2, 2 columns for last 2 */
@media (min-width: 768px) and (max-width: 991px) {
    .komfort-item:nth-child(-n+3) {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .komfort-item:nth-child(4),
    .komfort-item:nth-child(5) {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .komfort-item:nth-child(6),
    .komfort-item:nth-child(7) {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Small tablet version - 2 columns */
@media (min-width: 576px) and (max-width: 767px) {
    .komfort-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .komfort-item:nth-child(7) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Mobile version - 2 columns */
@media (max-width: 575px) {
    .komfort-item {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    .komfort-item img {
        height: 60px;
    }

    .komfort-item-descr {
        font-size: 16px;
        line-height: 20px;
        min-height: 40px;
    }

    .komfort-item:nth-child(7) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.olive-title.center {
    margin-bottom: 40px;
}

.komfort-item-descr {
    margin-top: 20px;
    font-family: Roboto-Light, sans-serif;
    font-size: 19px;
    line-height: 24px;
    color: #666;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.komfort-description {
    font-family: Roboto-Light, sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #666;
}



/* Vertical separators between komfort items (desktop only) */
@media (min-width: 992px) {
    /* First row - 4 items, separators after 1st, 2nd, 3rd */
    .komfort-item:nth-child(1):after,
    .komfort-item:nth-child(2):after,
    .komfort-item:nth-child(3):after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        background: #ededed;
        width: 1px;
        height: 130px;
    }
    
    /* Second row - 3 items, separators after 5th, 6th */
    .komfort-item:nth-child(5):after,
    .komfort-item:nth-child(6):after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        background: #ededed;
        width: 1px;
        height: 130px;
    }
    
    /* Override external CSS - remove separator from last item */
    .komfort-item:nth-child(7):after {
        content: none !important;
        display: none !important;
    }
}

/* Banks partners section */


.banks-partners .section-title {
    font-family: PlayfairDisplay-Black, sans-serif;
    font-size: 45px;
    color: #a1aa45;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.banks-partners .section-divider {
    width: 130px;
    height: 1px;
    background-color: #c2c2c2;
    margin: 0 auto 50px auto;
}

.banks-partners .section-description {
    font-family: Roboto-Light, sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 30px;
}

.banks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.bank-item {
    text-align: center;
    margin-bottom: 40px;
    flex: 0 0 auto;
    width: 180px;
}

@media (max-width: 768px) {
    .banks-grid {
        gap: 20px;
    }

    .bank-item {
        width: 150px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .banks-grid {
        gap: 15px;
    }

    .bank-item {
        width: 130px;
        margin-bottom: 25px;
    }
}

.bank-logo-wrapper {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-logo-wrapper img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.bank-item h4 {
    margin-top: 15px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Support section */
.support-section {
    padding: 80px 0;
    background: #ffffff;
}

.support-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.support-section .section-title {
    font-family: PlayfairDisplay-Black, sans-serif;
    font-size: 45px;
    color: #a1aa45;
    margin-bottom: 15px;
    letter-spacing: 2px;
    line-height: 1.1;
}

.support-section .section-divider {
    width: 130px;
    height: 1px;
    background-color: #c2c2c2;
    margin: 47px auto 0 auto;
}

.support-section .section-description {
    font-family: Roboto-Light, sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    line-height: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.support-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 60px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.support-step {
    flex: 1;
    max-width: 360px;
    text-align: center;
    position: relative;
}

.support-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -96px;
    width: 192px;
    height: 15px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAAPCAYAAACyYsBmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDdGRUQ0NjY1ODRGMTFFQTlCQjNDQUMyMTg5NDk5RjYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDdGRUQ0Njc1ODRGMTFFQTlCQjNDQUMyMTg5NDk5RjYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowN0ZFRDQ2NDU4NEYxMUVBOUJCM0NBQzIxODk0OTlGNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowN0ZFRDQ2NTU4NEYxMUVBOUJCM0NBQzIxODk0OTlGNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ph8JJXwAAAKUSURBVHja7FrbSsNAEN020dZ746Uo4gWros/+jp/n7/giWBGrYMU7ai9qa2utM3gCpZC2aTsTSXPgQJLdMMvO2Z3ZSWLNZtOMKtYODoMwaxHTxBQxSYwRq8QC8ZHYMBFUcHN8ZOxoGlQxTcwQ2+d9AlwkXhHfFcfEY1khzhHHiN9YjPe4DjUGWgAB7aCDOjoFR9eJReKdkqOniLvY8b3A49ohnhM/FcY0SdyGXRfjiFAO8YJYiRbA8MAhf5U4g/sy8RYpQBCOXsKCyAkLLk7c6iL+9r6nRMn81EI0GuuwGHnOssJpWQKamMV9CZr40hBkXFn8exCcBabwLBmwozPoJ4UFLDg/opgX9ke6hzG5m4Sk+PcRbVxNONBEQiUCUBrDud8Gdps8HQyKQrZWPURmoe1SyO6SD0c/CI3B6fOdF0HfOz76PShrwkbblYBNjjSbSOGvOQKsYxccx7UUZvts03S0ZPTr58wgiYTg2IehiRkhm5vQO3Mj3pZnhrEmmvwHjraV3gkTYhpGeAHkURGp41oKpT7bwoBvpXf8oNdDpmSBohyAJq6hdZ7fvE05Pxs6URDBLcJae87XQJsU2IGTATu62uEQ7oUPYX+8mb9vD91QCJkmiq7e+UOYZhWIRXCGiW+Ab3hWFXb0MPtJjkFrPIwnYq1Lnxr6SWui0KKJAp6plEG188wvoZN9Jzyb7pWgGvpJgas5y6b3UijP06vwvLDYuPK246GDOtobCpq4NAEhbsIPdmAODjUejs4JO/oHC//HR1+NggR//Mu2RINmy66fNTpfowPFqFQaKnCo+yuEbfT/eeGcnn8t2OpwHqhD/JrCY5s34MghFv0Nqg4LKZnTcgitIOd/6jFKRBgC+BD8K8AA7VaqmZkw/sAAAAAASUVORK5CYII=) no-repeat 0 center;
    background-size: 192px 15px;
    z-index: 1;
}

.step-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    padding: 12.5px;
}

.step-icon img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.support-step h3 {
    font-family: PlayfairDisplay-Bold, sans-serif;
    font-size: 20px;
    color: #a1aa45;
    margin-bottom: 12px;
    text-align: center;
}

.support-step p {
    font-family: Roboto-Light, sans-serif;
    font-size: 18px;
    color: #666;
    line-height: 30px;
    text-align: center;
}

/* Responsive design for support steps */
@media (max-width: 768px) {
    .support-steps {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .support-step {
        max-width: 100%;
        width: 100%;
    }

    .support-step:not(:last-child)::after {
        display: none;
    }

    .support-step:not(:last-child)::before {
        display: none;
    }
}

.support-conclusion {
    font-family: Corbel-Italic, sans-serif;
    font-size: 25px;
    line-height: 31px;
    margin-top: 23px;
    background: #fff;
    padding: 0 20px;
}

.support-conclusion p {
    padding: 0 45px;
    position: relative;
}

.support-conclusion p:before {
    content: "";
    position: absolute;
    background: url(/images/icon/icon-leaf.png) 50% no-repeat;
    height: 27px;
    width: 28px;
    left: 53px;
    top: 0;
}

/* Park section */
.park-section {
    padding: 80px 0;
    background: #f8f8f8;
    overflow: hidden;
}

.park-content {
    padding-right: 40px;
}

@media (max-width: 768px) {
    .park-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

.park-section .section-title {
    font-family: PlayfairDisplay-Black, sans-serif;
    font-size: 45px;
    color: #a1aa45;
    margin-bottom: 15px;
    letter-spacing: 2px;
    line-height: 1.1;
}

.park-section .section-divider {
    width: 130px;
    height: 1px;
    background-color: #c2c2c2;
    margin: 47px 0 40px 0;
}

.park-section .section-description {
    font-family: Roboto-Light, sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 30px;
}

.feature-item {
    margin-bottom: 43px;
    padding: 0 0 0 40px;
    position: relative;
}

.feature-item:before {
    content: "";
    position: absolute;
    background: url(/images/icon/icon-leaf.png) 50% no-repeat;
    height: 27px;
    width: 28px;
    left: 0;
    top: 0;
}

.feature-item h4 {
    font-family: PlayfairDisplay-Bold, sans-serif;
    font-size: 18px;
    color: #a1aa45;
    margin-bottom: 4px;
}

.park-conclusion {
    font-family: Corbel-Italic, sans-serif;
    font-size: 25px;
    line-height: 31px;
    margin-top: 23px;
    background: #fff;
    padding: 0 20px;
}

.park-conclusion p {
    padding: 0 20px;
    position: relative;
}


.park-images {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    grid-auto-rows: 50px;
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .park-images {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
        grid-auto-rows: 40px;
        padding: 0 20px;
        max-width: 400px;
    }
}

.park-image {
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
}

.park-image:hover {
    transform: scale(1.5);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.park-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile hover adjustments */
@media (max-width: 768px) {
    .park-image:hover {
        transform: scale(1.3);
    }
}

/* Masonry layout - different widths and heights */
.park-image-1 {
    grid-column: span 2;
    grid-row: span 5;
}

.park-image-2 {
    grid-column: span 1;
    grid-row: span 5;
}

.park-image-3 {
    grid-column: span 1;
    grid-row: span 3;
}

.park-image-4 {
    grid-column: span 2;
    grid-row: span 6;
}

.park-image-5 {
    grid-column: span 1;
    grid-row: span 3;
}

.park-image-6 {
    grid-column: span 3;
    grid-row: span 4;
}

/* Mobile masonry adjustments */
@media (max-width: 768px) {
    .park-image-1 {
        grid-column: span 2;
        grid-row: span 4;
    }

    .park-image-2 {
        grid-column: span 1;
        grid-row: span 4;
    }

    .park-image-3 {
        grid-column: span 1;
        grid-row: span 4;
    }

    .park-image-4 {
        grid-column: span 2;
        grid-row: span 4;
    }
}

/* Contact form section */
.contact-form-section {
    padding: 80px 0;
    background: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: #f8f8f8;
    padding: 50px;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.form-title {
    font-family: PlayfairDisplay-Black, sans-serif;
    font-size: 45px;
    color: #a1aa45;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.form-title-divider {
    width: 130px;
    height: 1px;
    background-color: #c2c2c2;
    margin: 47px auto 40px auto;
}

.form-descr {
    font-family: Roboto-Light, sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 30px;
}

.form-column-left {
    padding-right: 20px;
}

.form-column-right {
    padding-left: 20px;
}

.contact-input {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-family: Roboto-Light, sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.contact-textarea {
    resize: none;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-family: Roboto-Light, sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
    height: 131px;
}

.form-button {
    background: #a1aa45;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 0;
    font-family: PlayfairDisplay-Bold, sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

/* Animation initial states */
.infrastructure .containerW960 {
    opacity: 0;
    margin-top: 0;
}

.komfort-list {
    opacity: 0;
    margin-top: 50px;
}

.banks-partners {
    opacity: 0;
    margin-top: 50px;
}

.support-section {
    opacity: 0;
    margin-top: 50px;
}

.park-section {
    opacity: 0;
    margin-top: 50px;
}

.contact-form-section {
    opacity: 0;
}

/* Tooltip styles */
.tooltip-container {
    position: relative;
    cursor: help;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    min-width: 300px;
    white-space: normal;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Mobile tooltip adjustments */
@media (max-width: 768px) {
    .tooltip-text {
        font-size: 13px;
        padding: 12px 16px;
        max-width: 320px;
        min-width: 250px;
        bottom: 110%;
    }
}

@media (max-width: 480px) {
    .tooltip-text {
        font-size: 12px;
        padding: 10px 14px;
        max-width: 280px;
        min-width: 200px;
        bottom: 105%;
        left: 50%;
        transform: translateX(-50%);
    }
}