/* Zakat Calculator Styles */

/* Page-wide Background */
body.zakat-calculator-page,
.zakat-calculator-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    background-size: 200% 200% !important;
    animation: gradientShift 15s ease infinite !important;
    min-height: 100vh;
    position: relative;
}

.zakat-calculator-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: infoBackgroundMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Small Animated Cards Section */
.zakat-info-section-small {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
    z-index: 1;
}

.small-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: smallCardSlideIn 0.8s ease-out both;
    border: 2px solid rgba(17, 100, 102, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.small-info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.small-info-card:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes smallCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.small-info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(17, 100, 102, 0.3);
}

.zakat-small-card {
    background: linear-gradient(135deg, rgba(17, 100, 102, 0.05) 0%, rgba(38, 177, 181, 0.05) 100%);
}

.zakat-small-card:hover {
    background: linear-gradient(135deg, rgba(17, 100, 102, 0.1) 0%, rgba(38, 177, 181, 0.1) 100%);
}

.nisab-small-card {
    background: linear-gradient(135deg, rgba(246, 211, 101, 0.05) 0%, rgba(253, 160, 133, 0.05) 100%);
}

.nisab-small-card:hover {
    background: linear-gradient(135deg, rgba(246, 211, 101, 0.1) 0%, rgba(253, 160, 133, 0.1) 100%);
}

.small-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #116466 0%, #26b1b5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(17, 100, 102, 0.3);
    position: relative;
    animation: iconBounce 2s ease-in-out infinite;
}

.nisab-small-card .small-card-icon {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    box-shadow: 0 8px 20px rgba(246, 211, 101, 0.4);
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

.small-card-icon i {
    font-size: 32px;
    color: white;
    animation: iconRotate 3s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.small-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #116466;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    animation: titleFadeInSmall 0.8s ease-out 0.2s both;
}

.nisab-small-card .small-card-title {
    color: #d4a574;
}

@keyframes titleFadeInSmall {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.small-card-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.small-card-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
    animation: contentFadeInSmall 0.8s ease-out 0.4s both;
}

@keyframes contentFadeInSmall {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.small-card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border-left: 3px solid #26b1b5;
    transition: all 0.3s ease;
    animation: detailSlideIn 0.6s ease-out both;
}

.detail-item:nth-child(1) {
    animation-delay: 0.5s;
}

.detail-item:nth-child(2) {
    animation-delay: 0.7s;
}

@keyframes detailSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.detail-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.nisab-small-card .detail-item {
    border-left-color: #fda085;
}

.detail-item i {
    color: #26b1b5;
    font-size: 14px;
    animation: checkPulseSmall 2s ease-in-out infinite;
}

.nisab-small-card .detail-item i {
    color: #fda085;
}

@keyframes checkPulseSmall {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.detail-item span {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.detail-item strong {
    color: #116466;
    font-weight: 600;
}

.nisab-small-card .detail-item strong {
    color: #d4a574;
}

.small-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    animation: cardShine 3s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes cardShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Responsive Design for Small Cards */
@media (max-width: 767px) {
    .zakat-info-section-small {
        padding: 40px 0 !important;
    }
    
    .small-info-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .small-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .small-card-icon i {
        font-size: 28px;
    }
    
    .small-card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .small-card-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .detail-item {
        padding: 8px 12px;
    }
    
    .detail-item span {
        font-size: 13px;
    }
}

/* Zakat Information Section */
section.zakat-info-section,
.zakat-info-section {
    /* padding: 100px 0 !important; */
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    position: relative !important;
    overflow: visible !important;
    width: 100% !important;
    min-height: auto !important;
    display: block !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    z-index: 1;
    animation: sectionFadeInUp 1s ease-out, sectionFloat 6s ease-in-out 1s infinite;
}

@keyframes infoBackgroundMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, -30px) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Info Particles */
.info-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.info-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: infoFloat 20s infinite ease-in-out;
}

.info-particle:nth-child(1) {
    width: 100px;
    height: 100px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.info-particle:nth-child(2) {
    width: 150px;
    height: 150px;
    left: 70%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 30s;
}

.info-particle:nth-child(3) {
    width: 80px;
    height: 80px;
    left: 40%;
    top: 80%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.info-particle:nth-child(4) {
    width: 120px;
    height: 120px;
    left: 85%;
    top: 10%;
    animation-delay: 1s;
    animation-duration: 28s;
}

@keyframes infoFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-150px) translateX(80px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-300px) translateX(-80px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-150px) translateX(50px) rotate(270deg);
        opacity: 0.6;
    }
}

/* Info Cards Row - Equal Height */
.info-cards-row {
    display: flex;
    flex-wrap: wrap;
}

.info-card-col {
    display: flex;
}

/* Info Cards */
.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardSlideIn 0.8s ease-out both;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-card:nth-child(1) {
    animation-delay: 0.2s;
}

.info-card:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.info-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(17, 100, 102, 0.2) 0%, transparent 70%);
    animation: glowRotate 8s linear infinite;
    pointer-events: none;
}

@keyframes glowRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.info-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #116466 0%, #26b1b5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(17, 100, 102, 0.4);
    position: relative;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(17, 100, 102, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 40px rgba(17, 100, 102, 0.6);
    }
}

.info-card-icon i {
    font-size: 50px;
    color: white;
    animation: iconSpin 4s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

.info-card-title {
    font-size: 32px;
    font-weight: 700;
    color: #116466;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    animation: titleFadeIn 1s ease-out 0.3s both;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card-content {
    position: relative;
    z-index: 2;
    animation: contentFadeIn 1s ease-out 0.5s both;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(17, 100, 102, 0.1);
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    animation: listItemFadeIn 0.6s ease-out both;
    transition: all 0.3s ease;
}

.info-list li:nth-child(1) {
    animation-delay: 0.7s;
}

.info-list li:nth-child(2) {
    animation-delay: 0.8s;
}

.info-list li:nth-child(3) {
    animation-delay: 0.9s;
}

.info-list li:nth-child(4) {
    animation-delay: 1s;
}

@keyframes listItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-list li:hover {
    background: rgba(17, 100, 102, 0.05);
    padding-left: 15px;
    border-radius: 8px;
    transform: translateX(5px);
}

.info-list li i {
    color: #26b1b5;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.info-list li strong {
    color: #116466;
    font-weight: 600;
}

/* Responsive Design for Info Section */
@media (max-width: 767px) {
    .zakat-info-section {
        padding: 40px 0 !important;
    }
    
    .zakat-info-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .info-cards-row {
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    
    .info-card-col {
        padding: 0;
        margin-bottom: 20px;
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .info-card {
        padding: 25px 20px;
        margin-bottom: 20px;
        border-radius: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .info-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .info-card-icon i {
        font-size: 35px;
    }
    
    .info-card-title {
        font-size: 22px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .info-card-content {
        padding: 0;
    }
    
    .info-card-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
        text-align: left;
    }
    
    .info-list {
        margin-top: 10px;
    }
    
    .info-list li {
        font-size: 13px;
        padding: 10px 0;
        line-height: 1.5;
        flex-wrap: wrap;
    }
    
    .info-list li i {
        font-size: 16px;
        margin-right: 10px;
        margin-top: 3px;
    }
    
    .info-list li strong {
        display: block;
        margin-bottom: 3px;
    }
    
    .info-particle {
        display: none;
    }
    
    .info-card-glow {
        display: none;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .info-card {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .info-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .info-card-icon i {
        font-size: 30px;
    }
    
    .info-card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .info-card-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .info-list li {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .info-list li i {
        font-size: 14px;
        margin-right: 8px;
    }
}

/* Animated Background */
.zakat-calculator-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    min-height: 100vh;
    position: relative;
    overflow: visible;
    z-index: 1;
    animation: sectionFadeInUp 1s ease-out 0.2s both, sectionFloat 6s ease-in-out 1.2s infinite;
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 25s;
}

.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 18s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-100px) translateX(50px) rotate(90deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-200px) translateX(-50px) rotate(180deg);
        opacity: 0.3;
    }

    75% {
        transform: translateY(-100px) translateX(30px) rotate(270deg);
        opacity: 0.5;
    }
}

.zakat-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.zakat-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
    position: relative;
}

.zakat-header h1 {
    font-size: 42px;
    color: #153638;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #116466 0%, #26b1b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

.zakat-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #116466, transparent);
    border-radius: 2px;
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(17, 100, 102, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(17, 100, 102, 0.6));
    }
}

@keyframes lineExpand {

    0%,
    100% {
        width: 100px;
        opacity: 0.5;
    }

    50% {
        width: 200px;
        opacity: 1;
    }
}

.zakat-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.nisaab-info {
    background: linear-gradient(135deg, #116466 0%, #26b1b5 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(17, 100, 102, 0.4);
    animation: fadeInUp 0.8s ease-out 0.2s both, cardFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.nisaab-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nisaab-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.nisaab-info p {
    font-size: 16px;
    margin: 5px 0;
    opacity: 0.95;
}

.nisaab-value {
    font-size: 36px;
    font-weight: 700;
    margin-top: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: numberPulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes numberPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.zakat-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.8s ease-out both, cardSlideIn 0.6s ease-out both;
    border: 1px solid rgba(17, 100, 102, 0.1);
    position: relative;
    overflow: visible;
}

.zakat-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 100, 102, 0.05), transparent);
    transition: left 0.5s;
    pointer-events: none !important;
    z-index: 0;
}

/* Ensure last section is above card's before element */
.zakat-form-card .form-section:last-child {
    position: relative !important;
    z-index: 100 !important;
}

.zakat-form-card .form-section:last-child .form-group {
    position: relative !important;
    z-index: 100 !important;
}

.zakat-form-card .form-section:last-child input {
    position: relative !important;
    z-index: 200 !important;
    pointer-events: auto !important;
}

.zakat-form-card:hover::before {
    left: 100%;
}

.zakat-form-card:nth-child(1) {
    animation-delay: 0.1s;
}

.zakat-form-card:nth-child(2) {
    animation-delay: 0.2s;
}

.zakat-form-card:nth-child(3) {
    animation-delay: 0.3s;
}

.zakat-form-card:nth-child(4) {
    animation-delay: 0.4s;
}

.zakat-form-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 50px rgba(17, 100, 102, 0.25);
    border-color: rgba(17, 100, 102, 0.3);
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.zakat-form-card .form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(17, 100, 102, 0.1);
    animation: sectionFadeIn 0.6s ease-out both;
    position: relative;
    z-index: 1;
}

.zakat-form-card .form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
    z-index: 100 !important;
    position: relative !important;
    isolation: isolate;
}

.zakat-form-card .form-section:nth-child(1) {
    animation-delay: 0.1s;
}

.zakat-form-card .form-section:nth-child(2) {
    animation-delay: 0.2s;
}

.zakat-form-card .form-section:nth-child(3) {
    animation-delay: 0.3s;
}

.zakat-form-card .form-section:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zakat-form-card h3 {
    color: #116466;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #116466, #26b1b5, #116466) 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.zakat-form-card h3 i {
    margin-right: 12px;
    font-size: 28px;
    animation: iconSpin 3s ease-in-out infinite;
    background: linear-gradient(135deg, #116466, #26b1b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes iconSpin {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-5deg) scale(1.1);
    }

    75% {
        transform: rotate(5deg) scale(1.1);
    }
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group label .required {
    color: #dc3545;
    margin-left: 3px;
}

.form-group input[type="number"] {
    width: 100%;
    padding: 16px 20px;
    padding-left: 35px;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    z-index: 3;
    pointer-events: auto;
    cursor: text;
}


/* Ensure Liabilities section inputs are always editable */
#borrowed_money,
#wages_due,
#taxes_rent,
.liability-input {
    pointer-events: auto !important;
    cursor: text !important;
    user-select: text !important;
    position: relative !important;
    z-index: 1000 !important;
    background: white !important;
    touch-action: manipulation !important;
}

/* Ensure parent containers don't block inputs */
.liabilities-section,
.liabilities-section .form-group,
.liabilities-section .input-wrapper,
.liabilities-section > div {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

/* Override any card pseudo-elements that might block */
.zakat-form-card::before {
    pointer-events: none !important;
}

.zakat-form-card::after {
    pointer-events: none !important;
    display: none !important;
}


.form-group input[type="number"]:hover {
    border-color: #26b1b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(7 73 75);
}

.form-group input[type="number"]:focus {
    outline: none;
    border-color: #116466;
    background: white;
    box-shadow: 0 0 0 4px rgb(51 106 109 / 65%), 0 4px 20px rgba(17, 100, 102, 0.2);
    transform: translateY(-3px) scale(1.02);
}

/* Special focus styles for Liabilities inputs */
.liabilities-section .liability-input:focus,
#borrowed_money:focus,
#wages_due:focus,
#taxes_rent:focus {
    outline: none !important;
    border-color: #116466 !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgb(51 106 109 / 65%), 0 4px 20px rgba(17, 100, 102, 0.2) !important;
    transform: translateY(-3px) scale(1.02) !important;
    z-index: 999999 !important;
}

.form-group input[type="number"]::placeholder {
    color: #999;
}

.form-group .help-text {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.currency-symbol {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 600;
    pointer-events: none;
    z-index: 4;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
    animation: shake 0.5s ease;
}

.calculate-btn-container {
    text-align: center;
    margin: 40px 0;
}

.btn-calculate {
    background: linear-gradient(135deg, #116466 0%, #26b1b5 50%, #116466 100%);
    background-size: 200% 200%;
    color: white;
    padding: 20px 60px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(17, 100, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
    height: auto;
    line-height: 1.2;
}

.btn-calculate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s;
}

.btn-calculate::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: left 0.6s;
}

.btn-calculate:hover::before {
    width: 400px;
    height: 400px;
}

.btn-calculate:hover::after {
    left: 100%;
}

.btn-calculate:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(17, 100, 102, 0.5);
    animation: none;
    background-position: 100% 0;
}

.btn-calculate:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-calculate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-reset {
    background: #6c757d;
    color: white;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
    height: auto;
    line-height: 1.2;
}

.btn-reset:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-donate-sadqa {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(246, 211, 101, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    animation: donatePulse 2s ease-in-out infinite;
    display: none;
    align-items: center;
    gap: 10px;
}

.btn-donate-sadqa.show {
    display: inline-flex !important;
}

.btn-donate-sadqa i {
    font-size: 20px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.btn-donate-sadqa::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s;
}

.btn-donate-sadqa:hover::before {
    width: 400px;
    height: 400px;
}

.btn-donate-sadqa:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(246, 211, 101, 0.6);
    animation: none;
}

.btn-donate-sadqa:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-donate-zakat {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    animation: donatePulse 2s ease-in-out infinite;
    display: none;
    align-items: center;
    gap: 10px;
}

.btn-donate-zakat.show {
    display: inline-flex !important;
}

.btn-donate-zakat i {
    font-size: 20px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.btn-donate-zakat::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s;
}

.btn-donate-zakat:hover::before {
    width: 400px;
    height: 400px;
}

.btn-donate-zakat:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.6);
    animation: none;
}

.btn-donate-zakat:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes donatePulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(40, 167, 69, 0.6);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.1);
    }
}

.result-container {
    display: none;
    animation: fadeInUp 0.8s ease-out;
    overflow: visible;
    padding: 20px 0;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border-radius: 25px;
}

.result-container.show {
    display: block;
    animation: sectionFadeInUp 0.8s ease-out, sectionScaleIn 0.8s ease-out;
}

.result-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 3px solid;
    border-image: linear-gradient(135deg, #116466, #26b1b5, #116466) 1;
    position: relative;
    overflow: visible;
    animation: resultCardAppear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.result-card>* {
    position: relative;
    z-index: 2;
}

.result-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(17, 100, 102, 0.15) 0%, transparent 70%);
    animation: pulse 4s infinite;
    pointer-events: none !important;
    z-index: -1;
}

.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 100, 102, 0.05) 0%, transparent 50%);
    pointer-events: none !important;
    z-index: -1;
}

@keyframes resultCardAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.result-icon {
    font-size: 90px;
    margin-bottom: 25px;
    animation: bounceIn 1s ease-out, iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.result-icon.eligible {
    color: #28a745;
}

.result-icon.not-eligible {
    color: #ffc107;
}

.result-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #153638;
}

.result-title.eligible {
    color: #28a745;
}

.result-title.not-eligible {
    color: #ffc107;
}

.result-amount-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
    margin: 25px 0;
    position: relative;
    z-index: 1;
}

.result-amount {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, #116466 0%, #26b1b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 10px 20px;
    position: relative;
    animation: amountGlow 2s ease-in-out infinite;
    display: inline-block;
    overflow: visible;
    white-space: nowrap;
    word-wrap: normal;
    line-height: 1.2;
    min-width: 200px;
}

.result-amount::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #116466 0%, #26b1b5 100%);
    filter: blur(15px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 10px;
    animation: amountGlow 2s ease-in-out infinite;
}

@keyframes amountGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(17, 100, 102, 0.3));
        opacity: 0.3;
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(17, 100, 102, 0.6));
        opacity: 0.5;
    }
}

.result-message {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border-left: 5px solid;
    border-image: linear-gradient(135deg, #116466, #26b1b5) 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    animation: messageSlideIn 0.6s ease-out 0.3s both;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.result-details {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e8ecf1;
}

.result-details h4 {
    color: #116466;
    font-size: 20px;
    margin-bottom: 15px;
}

.result-details .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    margin: 5px 0;
    border-bottom: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.result-details .detail-row:last-child {
    border-bottom: none;
}

.result-details .detail-row:hover {
    background: rgba(17, 100, 102, 0.05);
    transform: translateX(5px);
}

.result-details .detail-label {
    color: #666;
    font-weight: 600;
}

.result-details .detail-value {
    color: #153638;
    font-weight: 700;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Loading Animation */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.loading-overlay.show {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(17, 100, 102, 0.2);
    border-top-color: #116466;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Number Counter Animation */
.count-up {
    animation: countUp 1.5s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .zakat-header h1 {
        font-size: 32px;
    }

    .zakat-form-card {
        padding: 25px;
    }

    .result-card {
        padding: 25px;
    }

    .result-amount {
        font-size: 42px;
        padding: 8px 15px;
        min-width: 150px;
    }

    .result-amount-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn-donate-zakat {
        padding: 15px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }

    .btn-calculate {
        padding: 15px 40px;
        font-size: 16px;
    }

    .btn-reset {
        padding: 15px 30px;
        font-size: 16px;
    }

    .particle {
        display: none;
    }
}
/* CRITICAL FIX: Ensure form stays interactive when result card is shown */
#zakatCalculatorForm {
    position: relative;
    z-index: 10 !important;
    pointer-events: auto !important;
}

#zakatCalculatorForm input {
    position: relative;
    z-index: 11 !important;
    pointer-events: auto !important;
}

/* Ensure result card and its children don't overlay the form */
.result-container {
    position: relative !important;
    z-index: 5 !important;
}

.result-card {
    position: relative !important;
    z-index: 5 !important;
}

/* Double-ensure liability inputs are always on top */
.liabilities-section input,
#borrowed_money,
#wages_due,
#taxes_rent {
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

/* Nisab Guidelines Animation Styles */
.nisab-guidelines-area {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    z-index: 1;
    padding: 80px 0 !important;
    animation: sectionFadeInUp 1s ease-out, sectionFloat 6s ease-in-out 1s infinite;
}

.nisab-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: 200% 200% !important;
    animation: nisabGradientShift 8s ease infinite !important;
    padding: 40px;
}

.nisab-card-gold {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 50%, #f6d365 100%) !important;
}

.nisab-card-silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #8e8e93 25%, #a8a8aa 50%, #8e8e93 75%, #c0c0c0 100%) !important;
}

@keyframes nisabGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nisab-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3) !important;
}

/* Animated Background Elements */
.nisab-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.nisab-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: nisabFloat 20s infinite ease-in-out;
}

.nisab-card-gold .nisab-bg-circle {
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
}

.nisab-card-silver .nisab-bg-circle {
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%);
}

.nisab-bg-circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
    animation-duration: 25s;
}

.nisab-bg-circle-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: -30px;
    animation-delay: 3s;
    animation-duration: 30s;
}

.nisab-bg-circle-3 {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 20%;
    animation-delay: 6s;
    animation-duration: 22s;
}

@keyframes nisabFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.25;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.2;
    }
}

/* Shine Effect */
.nisab-bg-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255,255,255,0.1) 50%,
        transparent 70%
    );
    animation: nisabShine 4s infinite;
    z-index: 1;
}

@keyframes nisabShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.nisab-icon-wrapper {
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.nisab-value {
    padding: 25px;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Animation Keyframes */
@keyframes sectionFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sectionSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sectionScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sectionFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Spacing for All Sections */
/* Large screens (desktops, 1200px and up) */
@media (min-width: 1200px) {
    .nisab-guidelines-area {
        padding: 60px 0 !important;
    }
    
    /* .zakat-info-section {
        padding: 80px 0 !important;
    } */
    
    .zakat-calculator-section {
        padding: 60px 0;
    }
    
    /* .result-container {
        padding: 40px 0;
    } */
}

/* Medium screens (tablets, 768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .nisab-guidelines-area {
        padding: 300px 0 !important;
    }
    
    .nisab-card {
        padding: 30px 25px;
    }
    
    .nisab-value {
        padding: 20px;
    }
    
    .zakat-calculator-section {
        padding: 30px 0;
    }
    
    .result-container {
        padding: 30px 0;
    }
}

/* Small screens (mobile, up to 767px) */
@media (max-width: 767px) {
    .nisab-guidelines-area {
        padding: 25px 0 !important;
    }
    
    /* .zakat-info-section {
        padding: 60px 0 !important;
    } */
    
    .zakat-calculator-section {
        padding: 25px 0;
    }
    
    .result-container {
        padding: 20px 0;
    }
    
    .nisab-card {
        margin-bottom: 20px;
        padding: 25px 20px;
    }
    
    .nisab-content h3 {
        font-size: 24px !important;
    }
    
    .nisab-value {
        padding: 15px 18px;
    }
    
    .nisab-bg-circle {
        opacity: 0.1;
    }
    
    /* Fix value truncation: stack label above value on small screens */
    .nisab-value .value-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px;
    }
    
    .nisab-value .value-item span:last-child {
        white-space: nowrap;
    }
}

/* Extra small screens - reduce padding further for Nisab cards */
@media (max-width: 480px) {
    .nisab-card {
        padding: 20px 16px;
    }
    
    .nisab-value {
        padding: 12px 14px;
    }
    
    .nisab-value .value-item span {
        font-size: 16px !important;
    }
    
    .nisab-value .value-item span:last-child {
        font-size: 20px !important;
    }
}