.fee-structure .content-container {
    border-radius: 20px;
    background-image: url('/img/fees-bg.jpeg');
    background-size: cover;
    background-position: center;
    height: 500px;
    align-content: center;
}

.fee-structure .inner-container {
    align-content: center;
    padding: 6%;
}

.fee-structure .sub-heading {
    margin-bottom: 1%;
    font-size: calc(3vw + 0.1rem);
    color: white;
}

.fee-structure .text {
    color: white;
    font-size: calc(1.1vw + 0.1rem);
    line-height: calc(2vw + 0.1rem);

}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:#006039;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background:#006039;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleY(1);
}

.card-number {
    font-size: 3rem;
    color: #3b82f6;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.1;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: all 0.3s ease;
}

.card:hover .card-number {
    opacity: 0.2;
    transform: scale(1.2);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.card-content {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.savax-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #006039;
    border-radius: 1rem;
    color: white;
}

.savax-footer h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.savax-footer p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.cursor-glow {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

.why-real-estate .container:hover .cursor-glow {
    display: block;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .fee-structure .content-container {
        height: 199px;
        align-content: center;
    }

    .fee-structure .sub-heading {
        font-size: 1.7rem;
    }

    .why-real-estate.top-padding2 {
        padding-top: 0px;
    }
}
